Closed Bug 296934 Opened 19 years ago Closed 19 years ago

some characters not handled correctly when passed urlencoded

Categories

(Thunderbird :: Message Compose Window, defect)

x86
Windows XP
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 169388

People

(Reporter: bugzilla.mozilla.org, Assigned: mscott)

References

()

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b2) Gecko/20050527 Firefox/1.0+
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b2) Gecko/20050527 Firefox/1.0+

If you click or enter the following url mailto:test@test.test?subject=a%20b%f8g
%20 is handled correctly but %f8 (ø) results in some [][]

Reproducible: Always

Steps to Reproduce:
1. click or enter the following url mailto:test@test.test?subject=a%20b%f8g 
2.
3.

Actual Results:  
a subject line that looks like: "a b??"

Expected Results:  
a subject line that looks like: "a bøg"
This is a dupe of a bug I can't find now, one that I believe was marked Invalid 
or WontFix.  The reason: URLs are assumed to be encoded in UTF-8.  The following 
URL will give the desired result:

  mailto:test@test.test?subject=a%20b%c3%b8g
Whiteboard: DUPEME
Shouldn't the URL use the charset used by the OS?

The first URL (iso) works with Outlook
mailto:test@test.test?subject=a%20b%f8g 

... and the second (utf8) works with Thunderbird
mailto:test@test.test?subject=a%20b%c3%b8g
Found the dupe.

(In reply to comment #2)
> Shouldn't the URL use the charset used by the OS?

Apparently, no.

*** This bug has been marked as a duplicate of 169388 ***
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → DUPLICATE
Cleanup *dupeme* whiteboard flag from bugs that are marked as Resolved Duplicate!
Whiteboard: DUPEME
You need to log in before you can comment on or make changes to this bug.