On Tue, 12 Oct 2004, Christian Unger wrote:
>
> On 08.10.2004, at 08:42, christian unger wrote:
>
> > exactly my question:
> > Mac OS X comes with all locales preinstalled and is able to display
> > jp, fr, zh characters side by side even in the terminal window.
> > Which Environment variable does svn rely upon and how do I tweak it in
> > OS X ?
>
> yet another question:
> I found this on
> http://developer.apple.com/documentation/MacOSX/Conceptual/
> BPRuntimeConfig/Concepts/EnvironmentVars.html
>
>
> > User Session Environment Variables
> >
> > Mac OS X supports the definition of environment variables in the scope
> > of the current user session. On login, the loginwindow application
> > looks for a special property list file with the name
> > environment.plist. This file must be located in a directory called
> > .MacOSX at the root of the user’s home directory. The path to this
> > file is as follows:
> >
> > ~/.MacOSX/environment.plist
> >
> > If an environment.plist file exists, loginwindow looks for keys that
> > are children of the root element. For each of these keys, loginwindow
> > registers an environment variable of the same name and assigns it the
> > value of the key. This file supports only the definition of
> > environment variables. You cannot use this file to execute other forms
> > of script code. The format of the file is the same XML format as other
> > property list files, with each key in the file containing a string
> > value.
>
> Could this be the solution ? and if so, could someone tell me which
> variables I would have to set in this xml file to tell svn how to encode
> the japanese chars ? thanx in advance :-)
OK, I confess I know next to nothing about Macs and less about OS X, but
given that nobody else has replied, let's try some standard-ish Unix stuff
to see if that helps...
(0) Try the following commands and see what they display:
locale -a
locale charmap
(1) Try setting the variable "LANG" to one of the locales listed by
"locale -a" - for example, among the options on my Linux system
are: ja_JP, ja_JP.eucjp, ja_JP.ujis, ja_JP.utf8
(2) I assume the Japanese characters are displayed fine when you type
"ls"... if so, find out how the names are being encoded as follows:
ls <filename> | od -tx1
While the above may not solve the problem, they may provide some clues as
to what might be needed...
Patrick
--
The easy way to type accents in Windows: http://www.frkeys.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Oct 13 21:01:35 2004