Gossamer Forum
Home : General : Internet Technologies :

Chinese & Java

Quote Reply
Chinese & Java
Hi,
Anyone have an idea with java and Chinese Big5

I have a page that has Chinese text on it that works fine however when I use Java on the page I cant get the Chinese text to show, it shows in gobbledy gooch.

Java is reading a file and displaying it on screen, normal text shows fine from the file but not the Chinese, anyone have in idea as to what I can do to get the java read out as Chinese text.

Cheers in advance for any time

Norvin
Quote Reply
Re: [Syte] Chinese & Java In reply to
Have you tried setting the content-type to BIG5? Not quite sure exactly if you would need to put this in the Java class, or in the HTML ... but its always a good idea to put it in your main header, as lots of older browsers will just show foreign charachters as "garbage".

Hope that helps.

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!