discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSString lowercaseString


From: Ivan Vučica
Subject: Re: NSString lowercaseString
Date: Wed, 1 Aug 2012 16:11:45 +0200

On Wed, Aug 1, 2012 at 1:21 PM, Sebastian Reitenbach <sebastia@l00-bugdead-prods.de> wrote:

On Wednesday, August 1, 2012 11:49 CEST, Ivan Vučica <ivucica@gmail.com> wrote:

> Which charset is your terminal configured to use on each operating system?

sorry, don't know how to figure that out?

I'm not really sure.

But, what you can do is try to SSH to the machine using a client that allows configuring the charset. PuTTY is one such client. Linux machine's output in particular seems like it might be using a single-byte encoding.

Also, some more ideas. Are the files themselves definitely using the same encoding? I know there was talk on the mailing list about compilers having to support different encodings for parsing input files and for storing constant NSStrings - is the compiler using correct input and output encodings?

It may be a good idea to try loading the input string from a file which is certainly a containing UTF-8-encoded text. That way you're avoiding potential compiler problems and only Foundation can be at fault, making it easier to see if the problem is with lowercaseString, with string loading or if there is a problem with the compiler.

(Difference in NSLog()'s output is confusing, however.)
--
Ivan Vučica - ivan@vucica.net



reply via email to

[Prev in Thread] Current Thread [Next in Thread]