read content in various character sets

Hi,

what is the best way to support reading text which comes in different character sets? so if we wanted text to be utf-8, what would be the best way to store and read it?

  1. store and read as textfrom files.

  2. store and read from sqllite

what libraries or functions out there will support reading utf-8 (writing is not a requirement)

regards

[import]uid: 55009 topic_id: 14347 reply_id: 314347[/import]

I think you can use sqlite (require “sqlite3”) for store and reading utf-8.
In my app (l?ch VI?T), i can load UTF-8 characters very well!
(http://itunes.apple.com/us/app/id452566067?l=vi&mt=8)
[import]uid: 74428 topic_id: 14347 reply_id: 55027[/import]