Unicode character conversion


I am working on a web stie which requires unicode support.

I mostly works; I have spent few days on the following issues with no
solution so any help is very much appreciated.:

  1. I would like to decompose a unicode string into individual
    characters and then compose it again. I can do first part with
    mystring.chars[i]. How can I put the string back from such
    character codes. Integer.chr does not work on unicodes

  2. How can I URL encode them (I guess I could, if I can get the first
    question answered)

  3. Is there a function to convert them into HTML/XML entities?


  • Sam Walker