Setting browser encoding.

  • HKt0p5
  • Graduate
  • Graduate
  • User avatar
  • Posts: 135
  • Loc: Bulgaria

Post 3+ Months Ago

Okay, now I have a problem with a forum acount. (http://suddenlaunch.com). I volunteered to translate their service in Japanese (because MY forum http://hirasawa.suddenlaunch3.com [F5 it if it is blue]needs to be in Japanese)..no reply so far.

It does handle Japanese but you have to manually set the browser encoding to Shift_JIS to display properly. IE is easy. Right-click-> Encoding ->Japanese(Shift_JIS). But no clue how that would be made for example in Firefox, Netscape or someone browsing on a Mac.

So I wanted to ask, since I'm not familiar with many different browsers, OS and browsers for them,
if I just put a message "Please set your encoding to Japanese_EUC or Japanese Shift-JIS", will people know what to do? Whetever the OS or browser they use?
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • joebert
  • Fart Bubbles
  • Genius
  • User avatar
  • Posts: 13503
  • Loc: Florida

Post 3+ Months Ago

If you set the Content-Language and Content-Encoding HTTP headers, most browsers will respond to them so the visitor doesn't need to change anything manually.

You can also include them in the document through the use of <meta> tags.

Code: [ Select ]
<meta http-equiv="Content-Language" value="ja"/>
<meta http-equiv="Content-Encoding" value="shift_jis"/>
  1. <meta http-equiv="Content-Language" value="ja"/>
  2. <meta http-equiv="Content-Encoding" value="shift_jis"/>
  • HKt0p5
  • Graduate
  • Graduate
  • User avatar
  • Posts: 135
  • Loc: Bulgaria

Post 3+ Months Ago

This is exactly what I wish i could do but I can't modify the forum's HTML. It's a free service provider and I asked the owner to do it to my forum if they refuse my offer to translate their service but.. I doubt they'll reply.

I'll see if I can put that somewhere.. but it probably won't work due to reason I mentioned above.

Thank you for the code though, Joe.

Post Information

  • Total Posts in this topic: 3 posts
  • Users browsing this forum: No registered users and 46 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.