Closed Bug 167631 Opened 22 years ago Closed 22 years ago

Can enter CJK Characters when MOZ_UNICODE is set

Categories

(Core :: Internationalization, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla1.2beta

People

(Reporter: tetsuroy, Assigned: tetsuroy)

Details

(Keywords: intl)

Attachments

(1 file)

When MOZ_UNICODE is set, mozilla morph into an Unicode application.
However, WM_IME_CHAR message handler need to be updated accordingly.
Windows now sends IME char in UCS2 codepoint.  (before Unicode,
we were receiving locale codepoint)

Patch to follow.
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla1.2beta
shanjian: can you review?
Keywords: intl
Comment on attachment 98525 [details] [diff] [review]
No need to call MultiByteToWideChar() in OnIMEChar() handler

Looks reasonable to me. r=shanjian
Attachment #98525 - Flags: review+
kin: super review?
Comment on attachment 98525 [details] [diff] [review]
No need to call MultiByteToWideChar() in OnIMEChar() handler

sr=kin@netscape.com

Do we want to indent the old code that's in the new |else| clause?
Attachment #98525 - Flags: superreview+
patch checked in with indentation.
Status: ASSIGNED → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
you only can verify this with Unicode build. We are in the process of
getting the MOZ_UNICODE flag on by _default_.  Please wait
until then.
QA Contact: ruixu → ylong
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: