[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kdevelop-bugs
Subject:    [Bug 167824] diff problems with SVN relative to UTF-8
From:       Andreas Pakulat <apaku () gmx ! de>
Date:       2008-07-31 13:33:52
Message-ID: 20080731133352.16976.qmail () ktown ! kde ! org
[Download RAW message or body]

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=167824         
apaku gmx de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|kdevelop-bugs kdevelop org  |apaku gmx de
             Status|UNCONFIRMED                 |ASSIGNED
      everconfirmed|0                           |1



------- Additional Comments From apaku gmx de  2008-07-31 15:33 -------
I'm pasting here the explanation from Nicolas that I got via private mail. Thanks for \
that Nicolas I do understand the need for that now better and will commit a fix \
shortly.

--------------------------------
Values for my locales are:
CHARSET=ISO-8859-15
LANG=fr_FR
LANGUAGE=fr_FR:fr

LC_TIME=fr_FR

If I understand the error return by the SVN lib, it's that the current
file in devel is not send in a UTF-8 format to the SVN server to be
compared.

So, it's necessarily to force the UTF-8 conversion by the SVN lib
(because my locales are not UTF-8). For that the function svn_nls_init()
do the job by calling bintextdomain() and bind_textdomain_codeset() to
force the use of UTF-8.

If you look in the svncpp package you will remarked that after
apr_pool_initialize(),svn_cmdline_init() is called. And
svn_cmdline_init() calls svn_nls_init().

_______________________________________________
KDevelop-bugs mailing list
KDevelop-bugs@kdevelop.org
https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-bugs


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic