Re: Problem commiting french comments

2008-12-28 Thread Pierre-Olivier Beaudoin
Indeed... it was not really clear which comment message i was talking
about...
My problem is with text I type in my source files. The log messages I enter
to commit these source files are ok. I use SyncroSVN as client. I browsed my
code from google hosting site and I realized that some accent were still
there and others were converted to ' √(c) '. I have 2 computers... one using
french locale and the other must be english... I probably checked out on
that computer then commit back and i did not realized i was changing all my
accent =)

Thanks for your help!

-Po

On Sat, Dec 27, 2008 at 7:35 PM, Ryan Schmidt wrote:

>
> On Dec 27, 2008, at 14:58, pierreolivier.beaud...@gmail.com wrote:
>
> > When i updated my code, my french accent in my comments disappeared...
> > usually a comment like this one:
> > "le vecteur iDelta projeté sur le vecteur latérale" will look OK in
> > xcode until i do an SVN update... after it will look like:
> > "le vecteur iDelta projet√(c) sur le vecteur lat√(c)rale"
> >
> > Do you think the problem is on my side or something in the character
> > encoding of the svn repository? Do you have any suggestions on how i
> > can fix this?
>
> Are you talking about text you type into a file and then commit that
> file, or text you put into a property of a file and then commit, or
> text you put into a log message while committing something else?
> Subversion should not be touching the contents of your files, or the
> contents of versioned or revision properties for that matter. You can
> use whatever encoding you like in your files. I assume versioned and
> revision properties should be made in UTF-8 encoding. I don't know
> what Xcode's Subversion module does. If you only see this problem
> within Xcode, try another Subversion client:
>
> http://subversion.tigris.org/links.html#clients
>
>
>
>
> >
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Hosting at Google Code" group.
To post to this group, send email to google-code-hosting@googlegroups.com
To unsubscribe from this group, send email to 
google-code-hosting+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-code-hosting?hl=en
-~--~~~~--~~--~--~---



Re: Problem commiting french comments

2008-12-28 Thread Ben Collins-Sussman

IIRC, Xcode simply invokes the svn command-line client, and the
command-line client converts commit messages from locale to UTF8,
since the repository *requires* that the messages be stored as UTF8.
Conversely, when the repository sends commit messages back to the
client, the client converts them from UTF8 back to native locale.  So
the real issue here is probably that your locale is incorrect.

Here's the relevant section of the svnbook:
http://svnbook.red-bean.com/en/1.5/svn.advanced.l10n.html

On Sat, Dec 27, 2008 at 6:35 PM, Ryan Schmidt
 wrote:
>
> On Dec 27, 2008, at 14:58, pierreolivier.beaud...@gmail.com wrote:
>
>> When i updated my code, my french accent in my comments disappeared...
>> usually a comment like this one:
>> "le vecteur iDelta projeté sur le vecteur latérale" will look OK in
>> xcode until i do an SVN update... after it will look like:
>> "le vecteur iDelta projet√(c) sur le vecteur lat√(c)rale"
>>
>> Do you think the problem is on my side or something in the character
>> encoding of the svn repository? Do you have any suggestions on how i
>> can fix this?
>
> Are you talking about text you type into a file and then commit that
> file, or text you put into a property of a file and then commit, or
> text you put into a log message while committing something else?
> Subversion should not be touching the contents of your files, or the
> contents of versioned or revision properties for that matter. You can
> use whatever encoding you like in your files. I assume versioned and
> revision properties should be made in UTF-8 encoding. I don't know
> what Xcode's Subversion module does. If you only see this problem
> within Xcode, try another Subversion client:
>
> http://subversion.tigris.org/links.html#clients
>
>
>
>
> >
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Hosting at Google Code" group.
To post to this group, send email to google-code-hosting@googlegroups.com
To unsubscribe from this group, send email to 
google-code-hosting+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-code-hosting?hl=en
-~--~~~~--~~--~--~---



Re: Problem commiting french comments

2008-12-28 Thread Ryan Schmidt

On Dec 27, 2008, at 14:58, pierreolivier.beaud...@gmail.com wrote:

> When i updated my code, my french accent in my comments disappeared...
> usually a comment like this one:
> "le vecteur iDelta projeté sur le vecteur latérale" will look OK in
> xcode until i do an SVN update... after it will look like:
> "le vecteur iDelta projet√(c) sur le vecteur lat√(c)rale"
>
> Do you think the problem is on my side or something in the character
> encoding of the svn repository? Do you have any suggestions on how i
> can fix this?

Are you talking about text you type into a file and then commit that  
file, or text you put into a property of a file and then commit, or  
text you put into a log message while committing something else?  
Subversion should not be touching the contents of your files, or the  
contents of versioned or revision properties for that matter. You can  
use whatever encoding you like in your files. I assume versioned and  
revision properties should be made in UTF-8 encoding. I don't know  
what Xcode's Subversion module does. If you only see this problem  
within Xcode, try another Subversion client:

http://subversion.tigris.org/links.html#clients




--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Hosting at Google Code" group.
To post to this group, send email to google-code-hosting@googlegroups.com
To unsubscribe from this group, send email to 
google-code-hosting+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-code-hosting?hl=en
-~--~~~~--~~--~--~---