International language encoding conversion

Discussion in 'Ruby' started by newbie, Nov 14, 2008.

  1. newbie

    newbie Guest

    Now that Ruby 1.9.1 supports utf-8, it will be great to play with some
    international languages in Ruby. But I have a question about encoding
    other than utf-8. As for Chinese, some people still use gb2312 or big5
    encodings. How can I make Ruby 1.9.1 recognize them, or even
    automatically convert them to utf-8, if possible? Thanks a lot!
     
    newbie, Nov 14, 2008
    #1
    1. Advertisements

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Hardy Wang

    Encoding.Default and Encoding.UTF8

    Hardy Wang, Jun 8, 2004, in forum: ASP .Net
    Replies:
    5
    Views:
    19,823
    Jon Skeet [C# MVP]
    Jun 9, 2004
  2. Replies:
    1
    Views:
    24,383
    Real Gagnon
    Oct 8, 2004
  3. Replies:
    0
    Views:
    3,749
  4. MEARTURO
    Replies:
    3
    Views:
    1,328
    Oliver Wong
    Jul 6, 2006
  5. Dylan

    character encoding conversion

    Dylan, Dec 12, 2004, in forum: Python
    Replies:
    14
    Views:
    736
    =?ISO-8859-1?Q?=22Martin_v=2E_L=F6wis=22?=
    Dec 13, 2004
  6. Licheng Fang
    Replies:
    5
    Views:
    648
    =?ISO-8859-15?Q?Juli=E1n?= Albo
    Sep 23, 2006
  7. Michael
    Replies:
    1
    Views:
    423
  8. Replies:
    2
    Views:
    672
Loading...