 |
Author: |
|
Topic: Character codes for portal |

ppp
Moderator
Developer
      
Member Since: 11/17/03
Forum Posts: 38
 |
 |
Character codes for portal Posted on 01/15/04 at 07:54:24 GMT |
I think a browser needs some information about language and the character codes, something like html lang="en" meta http-equiv="content-type" content="text/html; charset=UTF-8" or meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" ??? http://www.w3.org/TR/html401/
-----------------
Pascal P. Papilon
|
Logged |
|

Jos (jos)

Administrator
Developer
      
Member Since: 08/09/03
Forum Posts: 2623
 |
 |
Re: Character codes for portal Posted on 01/15/04 at 08:25:09 GMT |
Oh yeah it does! I forgot all about that. Come to think of it, it was here, but it got lost somehow. It's still in the Banty Chicken Portal "<META http-equiv="Content-Type" content="text/html; charset=iso-8859-1">". I'll copy it back here. Thanks Pascal.
-----------------
~
|
Logged |
|

Jos (jos)

Administrator
Developer
      
Member Since: 08/09/03
Forum Posts: 2623
 |
 |
Re: Character codes for portal Posted on 01/15/04 at 08:33:32 GMT |
There! Fixed already. That was the easiest one yet.
-----------------
~
|
Logged |
|

Jos (jos)

Administrator
Developer
      
Member Since: 08/09/03
Forum Posts: 2623
 |
 |
Re: Character codes for portal Posted on 01/15/04 at 08:42:29 GMT |
There now it only has 92 errors. They're all because all the & symbols need to be changed to & amp ; in the scripts. I had that fixed at one time, hmmm...
-----------------
~
|
Logged |
|

ppp
Moderator
Developer
      
Member Since: 11/17/03
Forum Posts: 38
 |
 |
Re: Character codes for portal Posted on 01/21/04 at 09:14:26 GMT |
There! Fixed already. That was the easiest one yet.
That I think fixes jotfish problem. Can you verify jotfish ?
-----------------
Pascal P. Papilon
|
Logged |
|

J Fischer (jotfish)

Moderator
Developer
      
Member Since: 11/17/03
Forum Posts: 55
 |
 |
Re: Character codes for portal Posted on 01/24/04 at 09:36:22 GMT |
That I think fixes jotfish problem. Can you verify jotfish ?
Confirmed: When I set coding to automatic and reload the page my IE browser selects Western (ISO) and the characters with umlaut look ok. I can still set another coding - if I like, but that is only until I load a new page. Köszönöm, Jos. (XRCE thinks this is Hungarian_UTF8, I'm inclined to agree). I think we should make a page with all the special characters ?
-----------------
--JotFish
|
Logged |
|

ahecq

Moderator
Developer
      
Member Since: 11/17/03
Forum Posts: 27
 |
 |
Re: Character codes for portal Posted on 01/27/04 at 14:48:48 GMT |
Now we have an interesting problem: the LinksBack may have different coding. Example the thread Topic: Trackbacks http://www.sitelibrary.net/community/forum/bookmarkscats/53 lists Google Portugal with a title "Busqueda ..." with an accent on the u, coded UTF-8 which gives "Búsqueda en Google: Mods for WebAPP." That gets complicated.
-----------------
--AegidiusHecq
|
Logged |
|

FerenzH (ferenz)

Moderator
Cruiser
      
Member Since: 12/06/03
Forum Posts: 8
 |
 |
Re: Character codes for portal Posted on 01/28/04 at 11:11:29 GMT |
Seems to be a general problem: jotfish noted it with the BlogThis! bookmarklet http://jotfish.blogspot.com/ 5 jotfish's Web log and http://papilon.blogspot.com/index.html#107528562332898426 7 Papilon with the blog button integrated in Google's toolbar http://toolbar.google.com/ I noted similar problems with the Magic Button from http://3apes.com
-----------------
--FerenzH
|
Logged |
|

J Fischer (jotfish)

Moderator
Developer
      
Member Since: 11/17/03
Forum Posts: 55
 |
 |
languag code Re: Character codes for portal Posted on 01/28/04 at 19:56:14 GMT |
I think a browser needs some information about language [...] html lang="en"
I looked up about the language codes: Source: W3C I18N: Language taging in HTML and XML "Language tagging in HTML and XML Language codes can be (and should be ) used to indicate the language of text in HTML and XML documents. For HTML 4 , language codes are specified with the lang attribute. " http://www.w3.org/TR/html401/struct/dirlang.html#adef-lang Language information specified via the lang attribute may be used by a user agent to control rendering in a variety of ways. Some situations where author-supplied language information may be helpful include: Assisting search engines Assisting speech synthesizers Helping a user agent select glyph variants for high quality typography Helping a user agent choose a set of quotation marks Helping a user agent make decisions about hyphenation, ligatures, and spacing Assisting spell checkers and grammar checkers http://www.ietf.org/rfc/rfc1766.txt The information in the subtag may for instance be: - Country identification, such as en-US (this usage is described in ISO 639) Could be in http://www.w3.org/TR/html401/struct/global.html#h-7.3 7.3 The HTML element !ENTITY % html.content "HEAD, BODY"> !ELEMENT HTML O O (%html.content;) -- document root element --> !ATTLIST HTML %i18n; -- lang, dir -- > lang (language information), dir (text direction)
-----------------
--JotFish
|
Logged |
|