Encoding text

  • Thread starter Thread starter tascien
  • Start date Start date
T

tascien

Can anyone show me a simple example on how to:

- Encode
- Decode

text to and from utf-8 format...

Thanks...
 
I think that is what i was looking for. Is it possible to use any
encoding?

ie. BG5 or simplified chinese, 'chenese'?

Thanks.
 
tascien said:
I think that is what i was looking for. Is it possible to use any
encoding?

ie. BG5 or simplified chinese, 'chenese'?

Yup - you need to either know the name of the encoding, or the code
page for it. You can then use Encoding.GetEncoding to get you the right
encoding.
 
Back
Top