All users were logged out of Bugzilla on October 13th, 2018

IDN not supported (no UTF-8 support)



14 years ago
2 years ago


(Reporter: ian, Assigned: raccettura)


Windows XP


(Whiteboard: This bug report is filed in UTF-8. Please check your encoding., URL)


(1 attachment)



14 years ago
 1. Go to http://☺ (Or, go to and 
    click the header at the top.)
 2. Click Help | Report Broken Web Site.
 3. Choose Problem Type: Other Problem.
 4. Click Next.
 5. Look up the report in

   URI on site is "http://?".

   URI should be "http://☺".


14 years ago
Whiteboard: This bug report is filed in UTF-8. Please check your encoding.

Comment 1

14 years ago
It's being dropped somewhere before the database server.  That leaves: Mozilla,
or the server to blame.

Anyone willing to sniff packets and see how mozilla sends the request?  Is it
UTF-8 when it's sent to the server?

you can use for testing purposes.

set extensions.reporter.serviceURL to

the dev server has some updated libraries, so it may be worth checking there
just to see if it's resolved on it's own.

Comment 2

14 years ago
I could use some help diagnosing this.

Comment 3

14 years ago
Created attachment 185978 [details]

Looks like it's client side somewhere:

<url xmlns:ns1=""

should be sending it as utf-8.

Comment 4

14 years ago
Ok, it doesn't appear to be the service.  I'm looking elsewhere.

Comment 5

14 years ago
Uh, look closer (at the hex). What you're being sent is e2 98 ba, which looks to
me like the UTF-8 encoded form of a ☺. (It appears as "."s in the ASCII side
because those are high-bit characters.) So I would say that the client is doing
the right thing.

Comment 6

14 years ago
Yes, I (in the past few hours) agree.

I think it's database related.  I'll look into it closer in coming days.

Comment 7

14 years ago
Perhaps php (or whatever the sever side script is written in) is not decoding it

But yeah, the soap/web service code is fully utf-8 aware :)  I assume you are
using a mysql db? might help.

Comment 8

14 years ago
Thanks Doron.

Unfortuantely we are on PHP 4.3.x and mySQL 4.0.x.  I'm still researching what's
going on, and where we are dropping the ball.

I started client side, just in case something was broken there (so we could get
it fixed quick before 1.1).  Since it's server side, we can deploy after
release.  Were not bound to the restraints of the release cycle.

Comment 9

14 years ago
(In reply to comment #8)

> Unfortuantely we are on PHP 4.3.x and mySQL 4.0.x.  I'm still researching 

  PHP 4.3.x can support multibyte encodings including UTF-8 fine with mbstring
and iconv modules. In case of mySQL 4.0.x, I'm not sure, but you can just store
UTF-8 strings. Sorting and character counting wouldn't work properly, but data
'loss' can be avoided with a little 'manual' fix-up.

Comment 10

14 years ago
jshin: correct.  Though that's up to justdave and our super admin's to
evaluate/fix.  Were not going to be on the current server for too long.  Not
sure what the new servers will be running.

Comment 11

13 years ago
renaming to be a bit more accurate.
Summary: IDN not supported → IDN not supported (no UTF-8 support)

Comment 12

13 years ago
*** Bug 308598 has been marked as a duplicate of this bug. ***

Comment 13

13 years ago
*** Bug 322342 has been marked as a duplicate of this bug. ***

Comment 14

13 years ago
This is fixed in the new version of reporter.  The problem was on the server side, so when the new server is deployed, all clients will be functioning correctly (no client side update needed)

It's not deployed as of yet, but the bug is fixed.  Someone can verify when we upgrade.
Last Resolved: 13 years ago
Resolution: --- → FIXED

Comment 15

13 years ago
When will the upgrade be deployed?

Comment 16

13 years ago
 (In reply to comment #15)
> When will the upgrade be deployed?

Hopefully sooner than later.  I'm hoping to be feature complete by the end of the month, and perhaps do some testing in February.

The other option is to back-port this patch to the production instance.  I can talk to Dave Miller about that.

I'd obviously prefer to wait at this point.  We don't seem to have that many reports effected, and only a hand full of bugs after several months since reporter went into production.

This might be a discussion worth having.  Not sure.

Comment 17

13 years ago
*** Bug 325166 has been marked as a duplicate of this bug. ***
It's already March but actually not resolved yet.
So, I reopen this bug.

Here is test reports with multibyte string and IDN.
Resolution: FIXED → ---
Oops, it's already April, not March.

Comment 20

13 years ago
Please don't re-open bugs without cause.

The bug is resolved.

The production instance has not been updated with this code.  That's another topic, and another component.  This bug is specific to the code, not instances hosted by  Reopening bugs like this makes it rather hard to track my todo list.

The server will be upgraded when the code is stable.  That still is a few weeks away.  My current target is by the end of May.  Yes it's slipped, and I apologize for that that.

Last Resolved: 13 years ago13 years ago
Resolution: --- → FIXED


12 years ago
Duplicate of this bug: 373347
Is there anyone working on this? "That still is a few weeks away," and 2 YEARs passed. People need this tool to report website, or please remove the menuitem in Help menu of builds other than English.
Test again, the description part in new reports successfully display UTF-8, but the old ones still shows "?".
Product: Webtools → Webtools Graveyard
You need to log in before you can comment on or make changes to this bug.