 |

ocnus
New User
Dec 12, 2003, 6:57 AM
Post #1 of 4
(2254 views)
Shortcut
|
|
Foreign encoding
|
Can't Post
|
|
Please excuse my ignorance if thisis already possible.In the course of posting articles in Article Manager I occasionally try to post in languages other than English. French, German and Italian pose no problems but Russian, Polish, Swedish and Czech are unredable.If I wanted to shift to, say,KOI-8, would it be legible to others and to me.How might I do this? Ocnus
|
|
|  |
 |

Luke
Staff
/ Moderator

Dec 12, 2003, 3:37 PM
Post #2 of 4
(2239 views)
Shortcut
|
Hi Ocnus, Thanks for your post! :) I'm not too familiar with different Character Encoding Sets, but from what I understand there are two methods to view pages in different languages. The first involves changing the encoding with your browser. In Internet Explorer click View -> Encoding -> and then select the appropriate Encoding Option. For example, for a Russian language website you might select "Cyrillic (Windows)". The other option is to use a meta tag. You can determine what encoding method you want your HTML pages to be output with by using an HTTP-EQUIV meta tag. For example, I did some testing with some Russian text and found that the text would be output properly using the following meta tag that passes the windows-1251 (Russian and Central/Eastern European) character set. <meta HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=windows-1251"> There's a list of all the various character sets on this website (just check out Table A.2 near the bottom of the page). http://www.utoronto.ca/ian/books/xhtml2/appa/appa.html So you'll want to add this meta tag to your web page, and pass the appropriate character set for the language you plan to have the page output in. Let me know if that does the trick, and if you have any other questions please let me know. Luke Holzken Product Development
|
|
|  |
 |

ocnus
New User
Dec 12, 2003, 9:39 PM
Post #3 of 4
(2235 views)
Shortcut
|
Thanks for your speedy reply. I have my browser set to read all of the foreign encodings,so that's no problem.. I shall experiment with the meta tags. I need to do this on an article by article basis, as most are in English, so I'll play around with where to insert the meta tags. Thanks, Ocnus
|
|
|  |
 |

Eric
Product Specialist

Dec 13, 2003, 11:55 AM
Post #4 of 4
(2234 views)
Shortcut
|
Hi Ocnus, Thank you for the forum post :). From my understanding, the encoding metatag must be inserted at the <head> section of the HTML, and it applies to the entire page. If you need to do this on an article by article basis, you have the option of adding an attribute called "lang" to <div>, <span>, <font>, or many other HTML elements (e.g. <div lang="en">). I am not knowledgeable in HTML langauge encoding so I am not sure how the "lang" attribute works. I do have a link you may want to visit for more information: http://www.w3.org/TR/html401/struct/dirlang.html#adef-lang Let me know if this helps you. Cheers, Eric Lau - Product Specialist support@interactivetools.com
|
|
|  |
|