Re: subversion and utf-8
David Rothenberger wrote: % export LANG=C.UTF-8 % touch wc/Burgstraße wc/Geschäftsführer wc/für % svn add wc/* % svn ci -m '' wc Note that the svn add will fail if I don't set LANG=C.UTF-8. As per 1.7.0-62 announcement, UTF-8 should be the default locale for LANG=C so LANG=C should work there as well. But of course the best value to use is the language of the user + UTF, e.g. in my case LANG=it_IT.UTF-8, and in the case of the OP I guess LANG=de_DE.UTF-8. -- Lapo Luchini - http://lapo.it/ “There is no programming language, no matter how structured, that will prevent programmers from making bad programs.” (Larry Flon) signature.asc Description: OpenPGP digital signature
Re: subversion and utf-8
2009/10/15 Lapo Luchini: David Rothenberger wrote: % export LANG=C.UTF-8 % touch wc/Burgstraße wc/Geschäftsführer wc/für % svn add wc/* % svn ci -m '' wc Note that the svn add will fail if I don't set LANG=C.UTF-8. As per 1.7.0-62 announcement, UTF-8 should be the default locale for LANG=C so LANG=C should work there as well. Yes, it should, but unfortunately it depends on whether svn has its own idea of what C means. But of course the best value to use is the language of the user + UTF, e.g. in my case LANG=it_IT.UTF-8, and in the case of the OP I guess LANG=de_DE.UTF-8. That's right. C.UTF-8 is not (yet) available on most other systems. Debian are only just introducing it, and it's intended as a neutral fallback only, when the user's language isn't known. Andy -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: subversion and utf-8
Hi, David Rothenberger wrote: % export LANG=C.UTF-8 This was the solution - issuing that commando made it work. LANG=de.UTF-8 also seems to work. So I'll add this to my bashrc. Thanks a lot. Markus ** Soloplan GmbH Software für Logistik und Planung Markus Schaber Entwicklung Burgstraße 20 | 87435 Kempten | Deutschland Telefon: +49 831 57407-0 | Telefax: +49 831 57407-111 E-Mail: m...@soloplan.de mailto:m...@soloplan.de | Internet: www.soloplan.de http://www.soloplan.de/ Geschäftsführer: Wolfgang Heidl, HRB 5304 Kempten -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: subversion and utf-8
2009/10/15 Markus Schaber: % export LANG=C.UTF-8 This was the solution - issuing that commando made it work. LANG=de.UTF-8 also seems to work. So I'll add this to my bashrc. Thanks a lot. A better place for this is cygwin.bat for the console, or the Text page of the options dialog for mintty. This ensures that bash itself is run with the same setting. That's because the locale of a process is determined by the environment settings at process startup. Andy -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
subversion and utf-8
Hi, I'm running a just freshly updated cygwin 1.7 on vista64, and suffer from the utf-8 problem described for 1.5 at http://sourceware.org/ml/cygwin/2008-08/msg00536.html You announced the stability of 1.7 for 11/2009 - can I hope that this issue will be fixed in the mean time? Thanks a lot, Markus ** Soloplan GmbH Software für Logistik und Planung Markus Schaber Entwicklung Burgstraße 20 | 87435 Kempten | Deutschland Telefon: +49 831 57407-0 | Telefax: +49 831 57407-111 E-Mail: m...@soloplan.de mailto:m...@soloplan.de | Internet: www.soloplan.de http://www.soloplan.de/ Geschäftsführer: Wolfgang Heidl, HRB 5304 Kempten -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: subversion and utf-8
On 10/14/2009 7:26 AM, Markus Schaber wrote: I'm running a just freshly updated cygwin 1.7 on vista64, and suffer from the utf-8 problem described for 1.5 at http://sourceware.org/ml/cygwin/2008-08/msg00536.html I am not having problems using Subversion 1.6.5 and Cygwin 1.7.0-62. However, my knowledge of character sets is very limited, so let me describe what I did. First, I made a repository. % svnadmin create repos % R=file://`pwd`/repos Then, I checked it out into a working directory. % svn co $R wc Then, I created a couple of files with non-ASCII characters in their name. (Since I don't normally do this, I just copied some words from your email's signature.) % export LANG=C.UTF-8 % touch wc/Burgstraße wc/Geschäftsführer wc/für % svn add wc/* % svn ci -m '' wc Note that the svn add will fail if I don't set LANG=C.UTF-8. I checked this out into a different working directory. % svn co $R wc2 I then tried changing a file in one working directory and updating the other. % date wc/für % svn ci -m '' wc % svn up wc2 All this worked fine on my system as long as LANG=C.UTF-8. I tried it from the console window and from MinTTY. -- David Rothenberger daver...@acm.org Newton's Little-Known Seventh Law: A bird in the hand is safer than one overhead. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple