Re: Non standard ascii characters
Re: Non standard ascii characters
- Subject: Re: Non standard ascii characters
- From: John Stiles <email@hidden>
- Date: Mon, 10 Jan 2005 06:26:47 -0800
On Jan 9, 2005, at 11:42 PM, j o a r wrote:
Hej,
On 2005-01-10, at 08.18, Peter Karlsson wrote:
I'm developing a MIDI app. My problem is that one of the device's I'm
working on contains non standard ascii characters within the name.
The name
of the device is Ensoniq ESQM.
I want to show the 40 program names in a tableview, this is easy for
the
standard characters. But how do I solve the problem with the non
standard
ascii characters? Any suggestions?
With "non standard ascii characters", you probably mean that you don't
know which encoding is being used. You will need to find the proper
encoding, either via documentation or trial and error, and then use
that information when creating the NSString object. Once the NSString
instance is created with the proper encoding, the table view will show
the correct information.
If you're just taking a stab in the dark, I'd recommend trying Windows
Latin-1. When in doubt, this is probably the encoding of choice for
outside (non-Mac) text.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden