From kdevelop-bugs Thu Jul 31 13:33:52 2008 From: Andreas Pakulat Date: Thu, 31 Jul 2008 13:33:52 +0000 To: kdevelop-bugs Subject: [Bug 167824] diff problems with SVN relative to UTF-8 Message-Id: <20080731133352.16976.qmail () ktown ! kde ! org> X-MARC-Message: https://marc.info/?l=kdevelop-bugs&m=121751229604200 ------- 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