Forum Moderators: open

Message Too Old, No Replies

Displaying Korean characters in a Java / html

         

DBangerter

10:12 pm on Apr 21, 2005 (gmt 0)

10+ Year Member



I am using a Javascript (livescript) enhanced html Flash Card program on my website. The Javascript is open source, but appears to be no longer supported. I am not a programmer, but I am trying to find out if it is possible to make this Flash card program display Korean / Hangul characters.

The website address (in case you would like to download / view it) is: [hanmilounge.com...]

The JS code can be downloaded from here: [hanmilounge.com...]

Does anyone know how to solve this?

Thank You
-Dennis-

ajkimoto

2:03 pm on Apr 22, 2005 (gmt 0)

10+ Year Member



DBangerter,

I have a solution for you.

You need to change your variable definitions in the function InitVars() function from this format, using the character entities in a string:

a[1]= "퓌ㅓ로ㅕㅗ도"

to this format,using the unicode numbers only, separated by commas:

a[1]= String.fromCharCode(54476,12627,47196,12629,12631,46020)

This will ensure that the variable contains a correctly formatted unicode string.

Hope this helps,

ajkimoto

DBangerter

7:04 pm on Apr 22, 2005 (gmt 0)

10+ Year Member



That did it! Thanks Much! -Dennis-