Closed Bug 270243 Opened 20 years ago Closed 20 years ago

embed prompter mangles non-ascii input

Categories

(Core Graveyard :: Embedding: GTK Widget, defect)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: chpe, Assigned: chpe)

Details

(Keywords: fixed-aviary1.0.1, fixed1.7.6)

Attachments

(2 files)

User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3) Gecko/20041020 Galeon/1.3.18.99 Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8a5) Gecko/20041113 Epiphany/1.5.0 The gtk+ native prompt implementation mangles non-ascii input; it shows up as if it was interpreted as iso-8859-1. Reproducible: Always Steps to Reproduce: 1. Load the attached testcase in TestGtkEmbed or Epiphany or Galeon 2. Click on the "Click here for prompt" text 3. Enter "äöüß" in the input prompt, then OK. Actual Results: The text field shows "äöüÃ". Expected Results: The text field shows "äöüß". Does work as expected in mozilla-the-browser (same build date).
Attached patch proposed fixSplinter Review
ToNewUnicode is lossy.
Attachment #166155 - Flags: review?(marco) → review+
Comment on attachment 166155 [details] [diff] [review] proposed fix darin: Marco suggested I ask you for sr to make sure we have the string usage right.
Attachment #166155 - Flags: superreview?(darin)
confirmed.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Attachment #166155 - Flags: superreview?(darin) → superreview+
Comment on attachment 166155 [details] [diff] [review] proposed fix I think we should have this on 1.7 branch too. It's a straigh-forward fix for an i18n bug.
Attachment #166155 - Flags: approval1.7.6?
Checking in embedding/browser/gtk/src/EmbedPrompter.cpp; /cvsroot/mozilla/embedding/browser/gtk/src/EmbedPrompter.cpp,v <-- EmbedPrompter.cpp new revision: 1.14; previous revision: 1.13 done
Assignee: blizzard → chpe
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Comment on attachment 166155 [details] [diff] [review] proposed fix a=mkaply for 1.7.6
Attachment #166155 - Flags: approval1.7.6? → approval1.7.6+
Attachment #166155 - Flags: approval-aviary1.0.1?
Comment on attachment 166155 [details] [diff] [review] proposed fix a=asa for branches checkin.
Attachment #166155 - Flags: approval-aviary1.0.1? → approval-aviary1.0.1+
Checked in on aviary1.0.1 Checking in EmbedPrompter.cpp; /cvsroot/mozilla/embedding/browser/gtk/src/EmbedPrompter.cpp,v <-- EmbedPrompter.cpp new revision: 1.12.24.1; previous revision: 1.12 done
Checked in on mozilla 1.7.6 branch Checking in EmbedPrompter.cpp; /cvsroot/mozilla/embedding/browser/gtk/src/EmbedPrompter.cpp,v <-- EmbedPrompter.cpp new revision: 1.12.2.1; previous revision: 1.12 done
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: