What I need to do is take input from a HTMl form, make sure it's in utf-8, and use it in a method which spell checks it. At the moment, it spell checks fine, but letters like â, ê and ô are come back as "ê" , "a"(werid looking - smaller and up) and a weird looking "?" in that order.
I think I need to change them to latin 1 for printout.
And how would i convert w^ and y^ to utf-8.
Thanks for all the help, greatly appreciated. :-)
Aled.
Why convert from Latin-1 to UTF-8 at all? As I understand your spellchecker uses UTF-8. All you have to do is ask browser to use same charset. Issue header Content-Type: text/html; charset=UTF-8 and you are done. Form input will be in UTF-8 and you can output UTF-8 too.