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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top