[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
NSString-stringWithCString: can't handle umlaute
From: |
Martin Kuball |
Subject: |
NSString-stringWithCString: can't handle umlaute |
Date: |
Mon, 26 Apr 2004 21:45:22 +0200 |
User-agent: |
KMail/1.6.2 |
Hi!
the following code
const char* cstr = "zurück";
NSString *test = [NSString stringWithCString: cstr];
results in test = nil with gnustep-base 1.9.9. Note that there is no
other hint that something went wrong. The character 'ü' has the
numeric value 252.
Using gdb when trying to step into the method call I end up in a
function GSScanDouble. I will try to investigate further but any help
is welcome.
Martin
- NSString-stringWithCString: can't handle umlaute,
Martin Kuball <=