Click here to get back home

multiple languages in one document

 HomeNewsGroups | Search | About
 comp.infosystems.www.authoring.html    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
multiple languages in one document enrique 03-18-2005
Posted by enrique on March 18, 2005, 2:55 pm
Please log in for more thread options


I want to display different languages in a single web document, each
likely with a different encoding.

I found this:
http://www.w3.org/International/geo/html-tech/tech-lang.html#ri20030112.213804197

Can anyone comment on where things are with displaying multiple
encodings/charsets on a single page?

Thank you.

epp



Posted by Dan on March 18, 2005, 3:35 pm
Please log in for more thread options



enrique wrote:
> Can anyone comment on where things are with displaying multiple
> encodings/charsets on a single page?

You can't.... you'll have to either use an encoding that encompasses
all desired characters (e.g., UTF-8, which supports the entire Unicode
range), or else use named entities or numeric references to include
characters outside the encoding in use.

--
Dan



Posted by Henri Sivonen on March 19, 2005, 12:59 am
Please log in for more thread options



> I found this:
> http://www.w3.org/International/geo/html-tech/tech-lang.html#ri20030112.213804
> 197
>
> Can anyone comment on where things are with displaying multiple
> encodings/charsets on a single page?

The solution is using the UTF-8 encoding and declaring the language as
described on the above-mentioned page.

--
Henri Sivonen
hsivonen@iki.fi
http://hsivonen.iki.fi/
Mozilla Web Author FAQ: http://mozilla.org/docs/web-developer/faq.html


Posted by enrique on March 18, 2005, 3:25 pm
Please log in for more thread options


Yes, I am aware of Unicode.

My question is about supporting two or more encodings in a single
document. I checked the XHTML DTD and it doesn't look like elements
support a "charset" attribute, with the exception of maybe four (link,
a, etc.).

Thank you.

epp



Posted by Henri Sivonen on March 19, 2005, 1:26 am
Please log in for more thread options



> My question is about supporting two or more encodings in a single
> document.

Not supported.

--
Henri Sivonen
hsivonen@iki.fi
http://hsivonen.iki.fi/
Mozilla Web Author FAQ: http://mozilla.org/docs/web-developer/faq.html


Similar ThreadsPosted
A HTML document can be converted to XHTML document. January 31, 2005, 8:58 am
"Re:" in other languages October 3, 2005, 1:35 pm
Markup for link to foreign languages ? November 23, 2004, 6:35 pm
convert non-western languages to HTML from Word January 18, 2008, 11:11 pm
Document name (with spaces) in URL July 22, 2004, 6:17 pm
Multiple Page Form September 8, 2004, 6:46 am
multiple mailto syntax November 9, 2004, 4:12 am
Multiple Links Per Picture June 16, 2005, 1:10 pm
same stylesheet for multiple frames October 20, 2005, 4:12 pm
Multiple frames and scrolling? April 26, 2006, 7:38 am

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap