Re: Geting special characters in paths in debugger
Re: Geting special characters in paths in debugger
- Subject: Re: Geting special characters in paths in debugger
- From: Paul Walmsley <email@hidden>
- Date: Tue, 14 Apr 2009 19:54:33 +0100
David Dunham wrote:
On 13 Apr 2009, at 19:24, Erg Consultant wrote:
I am looking at a path variable represented by a string in the Xcode
2.5 debugger. If the path has a special character such as ™ in the
path, the debugger shows all such special characters simplt a ".".
How can I get the debugger to show the actual characters in the path?
Is this part of the name of your app? I liked to put a beta (β) in
beta builds, but it messed up too many tools (such as Shark). I
eventually gave up.
Just as a matter of usability, I don't think you should have a ™ in
your app name -- it's annoying when your app is in the Dock. Get new
lawyers if they think it has to be in every appearance.
While I agree with David's comments, it's still a more general
requirement to be able to deal with internationalised applications and
paths correctly. You say that this path variable is 'a string', but is
that a C or C++ string, CFString or something else? If it's a C/C++
string is it char* or wchar_t* ? If it's char* what's the encoding or
code page? Where did the path variable come from -- a C runtime library
call or a Carbon call? If it's from the C runtime library then chances
are it's a UTF8 encoded char*.
Paul
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden