Is there any PHP or Ruby library to convert Tranditional Chinese to Simplified Chinese or vice versa (Big5 <–> GB)? The iconv library won’t do it, as it merely converts the encoding, but the glyph stays the same.
Is there any PHP or Ruby library to convert Tranditional Chinese to Simplified Chinese
Share
You might get some leverage with 1.9
so it’s something like
How can I convert a string from windows-1252 to utf-8 in Ruby?
original = File.open(‘name’, ‘r:original_encoding’).read
original.force_encoding(‘new_encoding’)
Though I’ve never tried it.