[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Can't recode string

From: christian unger <cunger_at_apple.com>
Date: 2004-10-25 12:19:50 CEST

On 13.10.2004, at 21:39, Christian Unger wrote:

>> While the above may not solve the problem, they may provide some
>> clues as
>> to what might be needed...
>>
>> Patrick
>
> Thanks Patrick!
> I will report what I find out.
> with best regards

none of the locale environment variables are set under Mac OS X nor do
the utilities exist (locale...) but (as mentioned earlier):
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.

setting this:

  <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN"
"http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
        <key>LC_CTYPE</key>
        <string>la_LN.UTF-8</string>
        <key>cunger</key>
        <string>1</string>
</dict>
</plist>

resolves the problem, I can check in and checkout files with japanese
filenames, without getting the "Can't recode string" error
I created this plist on both the client and the server. I am not using
the web interface but the svnserver.

svnX has problems displaying the japanese filenames though.

mit freundlichen Gruessen / with best regards

christian unger

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Oct 25 16:51:01 2004

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.