I am using JavaScript to support a multilingual website. My pages are created when accessed by loading an html template with language data from a text array.
This works well with single byte pan-european text encodings. However when I attempt this will multi byte shift-jis or jp-euc, I often encounter character corruption when the bytes are shifted. This results in nonsensical or offensive japanese text.
Is there a way to define a double byte character so I can preserve the japanese text when passing it as a string?
Thank you,
John M Wilson