Antville Project

why did you add this to the skin edit-forms?

mozilla converts existing "umlauts" within skins to the utf-equivalent at "save" (not showing the conversation in the textarea)

i know we always should - but: do we have to use html-entities to get the umlauts right...?

comment    

 
hns, September 20, 2002 at 12:11:06 PM CEST

Please try to be more articulate

Who did add what and where? Where did you see the ? What happens? What should happen?

link  

 
dm42, September 20, 2002 at 12:19:15 PM CEST

Re: Please try to be more articulate

dont now, must be added at the last update - maybe (it is not in the old antville skins)

eg: balabuja.antville.org source starts with (replace # with >)

#?xml version="1.0" encoding="UTF-8"?# #!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "www.w3.org"#

#html xmlns="www.w3.org" xml:lang="en" # #head# ...

xml, encoding and the namespace declaration are new

link  

 
hns, September 20, 2002 at 12:22:49 PM CEST

It's fixed

see message below. The xml declaration is OK, but the encoding="UTF-8" is bogus. I removed it, and it should now be regarded as what it is, i.e. ISO-8859-1 encoded. Let me know if it isn't.

link  


... comment
 
hns, September 20, 2002 at 12:21:00 PM CEST

OK, found it

and fixed it. Sorry about my previous message, but the one to cause a bug and the one to fix it are not always the same person, so I had no idea at all where to look for the problem (we're using lots of internally).

link  

 
dm42, September 20, 2002 at 12:27:28 PM CEST

sorry, this doesn't work either

i suspect, that you are translating to utf-8 literally when you parse the skins at save time

adding a "ü" to a skin results in a "ü" at first save and a "ü" at the second save...

[Mozilla 1.1 // Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.1) Gecko/20020826]

link  

 
hns, September 20, 2002 at 12:40:00 PM CEST

Re: OK, found it

Please go to the skin editor page and open the View -> Character Coding menu of your Mozilla browser. What does it say? It should say Western (ISO-8859-1). Is it possible you manually set this to UTF-8 somewhere on that specific antville weblog? Does manually setting it to "Western" work? (It should.)

It's possible that the existence of the declaration makes Moz think it's UTF-8, because that's infact the standard encoding for xml, but the web server explictly sends Content-Type: text/html; charset=iso-8859-1 in the response header. Heck, maybe it's the discrepance between text/html and the decl that's causing the problem.

Anyway, this is all due to exagerated standards compliancy, both from our side and from Mozilla.

PS: everything works right for me with Moz 1.1 b on Linux.

link  

 
dm42, September 20, 2002 at 12:47:13 PM CEST

Re: OK, found it

character settings already is at "Western (ISO-8859-1)".

i remember that encoding defaults to utf-8, but that depends on your parser software. again, i suspect that your parser converts (skins only) to utf-8 internally.

i understand, that i should have used html-entities, anyway. that is no problem to do and the most easy solution for both of us.

link  

 
hns, September 20, 2002 at 12:51:01 PM CEST

Re: OK, found it

No, you definitely don't have to use HTML entities. Yes, you can use HTML entities.

But if the setting is to Western and it sends/receives ü as ü, then this is a bug in Mozilla 1.1, I can say that with 100% certainty. But try restarting Mozilla, maybe it has the UTF-8 encoding memorized from previous requests.

After that, I'll add an explicit encoding="ISO-8859-1" to the page so there should be no more problems.

link  

 
dm42, September 20, 2002 at 1:11:22 PM CEST

you'r right

the character "ü" as displayed in the form/textarea is a "ü" in the source - funny farm!

link  

 
hns, September 20, 2002 at 1:22:02 PM CEST

yep

once it's been corrupted, it is correct that it remains corrupted. The interesting thing would be if it shows correctly when freshly entered.

link  

 
dm42, September 20, 2002 at 1:43:27 PM CEST

Re: OK, found it

sorry hns, i think it is my browser

it's gone crazy now - replacing umlauts with a "?" sign... on certain sites.

thank you for your patience.

update: i did a reinstall of mozilla. everything is fine now. hns, i owe you a coffee.

link  


... comment


The Antville Server Fund has been a great success. Thanks to everybody who contributed!
online for 8550 Days
last updated: 1/4/11, 10:22 AM
status
Youre not logged in ... Login
menu
November 2024
SunMonTueWedThuFriSat
12
3456789
10111213141516
17181920212223
24252627282930
July
recent
zfuture's house here is zfuture's
house
by zfuture (7/31/03, 2:59 AM)
i understand your concerns however,
i hardly can think of a solution. certainly, if the...
by tobi (7/29/03, 9:47 AM)
Found several more similar sites
listed This is getting to be quite a concern to...
by cobalt123 (7/27/03, 7:56 PM)
Second Post Alert on Referrer
bug livecatz I put this into "help" and now here:...
by cobalt123 (7/26/03, 7:14 PM)
well it's not easy to
find from here, anyway. think we should include a link,...
by tobi (7/24/03, 11:25 AM)
So finally I found
the helma Bugzilla - stupid me.
by mdornseif (7/24/03, 10:28 AM)
clock not that it's particularly
earthshattering but the antclock is running slow by about 15...
by kohlehydrat (7/23/03, 8:25 PM)
but blogosphere.us isn't can't really
be rated as spam can it?
by kohlehydrat (7/23/03, 8:08 PM)
More referrer spam www.webfrost.com
by Irene (7/23/03, 7:55 PM)
How to log skin names
I accessed to console?? Hi, I would like to know...
by winson (7/23/03, 4:12 PM)

Click here to get an XML version of this weblog.

Made with Antville
powered by
Helma Object Publisher