How do we get a string with a specific encodings

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

How do we get a string with a specific encodings

stephane ducasse
Hi guys

I would like to know how I can specify the encodings of my strings.

Stef

Reply | Threaded
Open this post in threaded view
|

Re: How do we get a string with a specific encodings

Janko Mivšek
Hi Stef,

stephane ducasse wrote:

> I would like to know how I can specify the encodings of my strings.
>

I propose that you always consider internal strings as Unicode encoded
and take care that they are always converted to/from other encodings on
the boundaries of an image. That way you'll have a minimum (zero) of
confusion about encoding of your strings.

Best regards
Janko


--
Janko Mivšek
AIDA/Web
Smalltalk Web Application Server
http://www.aidaweb.si