RE: [PATCH] readable error messages on non-ASCII systems, v2
From: Bert Huijben <bert_at_qqmail.nl>
Date: Mon, 17 May 2010 16:41:07 +0200
> -----Original Message-----
Googling for z/OS and Ascii shows that there are some z/OS C compilers that allow compiling programs using ASCII literals.
Did you try using these compiler flags instead of trying to fix the source code?
I'm afraid that you will only find more and more places where we assume that our literals use ASCII, so if I would have to fix Subversion I would look into using some automated tool. (Another thing I thought about was using some kind of C preprocessor before compiling, which translates the strings to utf-8 using some escaping mechanism)
I think our output handling is mostly separated to allow converting from utf-8 to the native encoding, so maybe applying a few compiler flags can help you more than patching the sourcecode.
Bert
|
This is an archived mail posted to the Subversion Dev mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.