PDA

View Full Version : Is there a Firefox extension to display UTF-8 in address bar


alex
10th February 2006, 02:24 PM
...instead of Punycode?

I can enter the URL as UTF-8 into the address bar, but once the page loads it shows the raw Punycode. Is there any way to keep the native language showing after the page loads?

gammascalper
10th February 2006, 02:39 PM
...instead of Punycode?

I can enter the URL as UTF-8 into the address bar, but once the page loads it shows the raw Punycode. Is there any way to keep the native language showing after the page loads?

No there isn't unfortunately. I noticed that FF will sometimes render the URL in unicode but most times in punycode.

This is a bug that FF development is aware of. Hopefully it'll be resolved in the next build.

idnnow
10th February 2006, 03:42 PM
No there isn't unfortunately. I noticed that FF will sometimes render the URL in unicode but most times in punycode.

This is a bug that FF development is aware of. Hopefully it'll be resolved in the next build.

Hi gamma, I am not sure this is a bug. If FF finds the site to be an established legal site, it will show its URL in unicode. Try this one:

http://北京.cn

gammascalper
11th February 2006, 12:39 AM
Hi gamma, I am not sure this is a bug. If FF finds the site to be an established legal site, it will show its URL in unicode. Try this one:

http://北京.cn

I think it is a bug. And a programmer who's contributed to the moz code also thinks it's a bug.

If you mouse over the url without clicking through to it, the 1st example you provided is displayed as unicode in the lower left hand corner of FF. The 2nd example is displayed as punycode.

Example:

mouse over http://北京.cn

mouse over http://항공.com

Both lead to sites.

It is most likely a glitch in the rendering algorithm. How would FF know that a particular unicode url leads to an 'established legal site' without doing a page load? What would be criteria for an 'established legal site'? I think I know what you're saying, but I think it is very unlikely. They're not in the business of parsing and storing information about sites.

idnnow
11th February 2006, 01:57 AM
I read an article about 2 months ago (but can't remember from where) that FF had a white list built in to the browser, sites that are on the list will be showed in its unicode. Maybe we should double check on this.

gammascalper
11th February 2006, 02:06 AM
I read an article about 2 months ago (but can't remember from where) that FF had a white list built in to the browser, sites that are on the list would be showed in its unicode. Maybe we should double check on this.

I've seen a blacklist of characters, but I know of no blacklist/whitelist of sites.

Post if you find it :-)

idnnow
11th February 2006, 02:11 AM
I've seen a blacklist of characters, but I know of no blacklist/whitelist of sites.

Post if you find it :-)

Yes, maybe I am wrong, probably read too fast :-)

alex
11th February 2006, 04:28 AM
If you mouse over the url without clicking through to it, the 1st example you provided is displayed as unicode in the lower left hand corner of FF. The 2nd example is displayed as punycode.

Example:

mouse over http://北京.cn

mouse over http://항공.com

Interesting info, I guess we're still on the frontier with IDNs. http://北京.cn does stay in my address bar after the page loads.

alex
12th February 2006, 04:29 AM
On a tangent...

Is there anything server side or within the page code that you can do to force the UTF-8 display in the address bar?


Btw, Opera seems to display all IDNs correctly in the address bar, even http://항공.com.