[jboss-remoting-issues] [JBoss JIRA] (JBREM-1286) Fix sources encoding to UTF-8

Ron Sigal (Commented) (JIRA) jira-events at lists.jboss.org
Tue Nov 22 23:11:40 EST 2011


    [ https://issues.jboss.org/browse/JBREM-1286?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12644973#comment-12644973 ] 

Ron Sigal commented on JBREM-1286:
----------------------------------

Hey Ondrej,

Ok, I think I understand.  But I just did "od -cx CallbackStore.java" and got


{noformat}
...
0007260   "   s   e   r   "   .  cr  nl  sp  sp  sp  sp   *   /  cr  nl
           7322    7265    2e22    0a0d    2020    2020    2f2a    0a0d
...
{noformat}

For some reason the hex digit pairs are getting flipped (maybe because I'm working in cygwin on a Windows machine?), so the first six bytes are 22 73 65 72 22 2e, and 22 is ASCII for double quote.

When I type "ron" after "ser" (in eclipse), I get

{noformat}
...
0007260   "   s   e   r   "  sp   "   r   o   n   "   .  cr  nl  sp  sp
           7322    7265    2022    7222    6e6f    2e22    0a0d    2020
...
{noformat}

So it seems like there really is a double quote there in the file.

What am I missing?

-Ron
                
> Fix sources encoding to UTF-8
> -----------------------------
>
>                 Key: JBREM-1286
>                 URL: https://issues.jboss.org/browse/JBREM-1286
>             Project: JBoss Remoting
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>    Affects Versions: 2.2.4, 2.5.4.SP2
>            Reporter: Ondrej Zizka
>            Assignee: Ron Sigal
>             Fix For: 2.2.4.SP1, 2.5.4.SP4
>
>
> I Ron, is it possible to fix this?  It's really annoying to care about it in environments like Hudson.
> Compiling 395 source files to build/classes
> src/main/org/jboss/remoting/callback/CallbackStore.java:79: unmappable character for encoding UTF-8
>     * Key for setting the file suffix to use for the callback objects written to disk. The default value is �ser�.
> src/main/org/jboss/remoting/callback/CallbackStore.java:79: unmappable character for encoding UTF-8
>     * Key for setting the file suffix to use for the callback objects written to disk. The default value is �ser�.
> 2 errors

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       



More information about the jboss-remoting-issues mailing list