HEX (UNICODE) to ANSII

Hi,

I have a simple application that takes in a subject and sends an email with that subject. The problem is that I need the subject to be in Korean, so what happens is: 林咯矾盒膊 is entered but the email is received with 주여러분께 in the subject line instead. I have tried to convert this into hexadecimal unicode and back into characters, but it only outputs garbage. Is there any way to do this.

thanks

[451 byte] By [bozia] at [2007-10-3 2:21:43]
# 1
Make sure your e-mail client supports RFC 2047. And make sure you are putting actual Korean Unicode characters into the subject line and not something that has been mashed up (like your posted example was) during the input process.
DrClapa at 2007-7-14 19:20:40 > top of Java-index,Other Topics,Algorithms...
# 2

The input to the form is actually : 林林咯矾盒膊 and the email received subject is 주주여러분께 (which I believe is html unicode)

I tried converting this to hex and then back to characters but that gives me the garbage. I suppose my question is how can I convert the unicode above back to the korean characters.

bozia at 2007-7-14 19:20:40 > top of Java-index,Other Topics,Algorithms...
# 3
hahaha sorry I think my post is getting screwed up, let me put this another way, the input is in KOREAN and the subject received is & # 51452;& # 51452; & # 50668; & # 47084; & # 48516; & # 44760;without the spaces (otherwise it would display in correct
bozia at 2007-7-14 19:20:40 > top of Java-index,Other Topics,Algorithms...
# 4
What "form" is that? And what does HTML have to do with the question?
DrClapa at 2007-7-14 19:20:40 > top of Java-index,Other Topics,Algorithms...
# 5
HTML encodes korean using the following standard #& 12345; when you are entering korean characaters in an input box. My problem is converting this back to korean characters in the email Subject line.
bozia at 2007-7-14 19:20:41 > top of Java-index,Other Topics,Algorithms...
# 6
Well, instead of going back and forth asking you questions that slowly illuminate the actual situation you're asking about, let me just post this link: http://java.sun.com/developer/technicalArticles/Intl/HTTPCharset/
DrClapa at 2007-7-14 19:20:41 > top of Java-index,Other Topics,Algorithms...