Closed Bug 97671 Opened 23 years ago Closed 22 years ago

'?' is displayed as 'oa' in the title bar

Categories

(Core :: Internationalization, defect)

x86
All
defect
Not set
normal

Tracking

()

VERIFIED FIXED
mozilla1.2beta

People

(Reporter: ruixu, Assigned: tetsuroy)

References

Details

(Keywords: intl, Whiteboard: [eta: 8/16/2002])

Attachments

(2 files)

Observed on JP Win98SE and KO Win2K with build 2001083003. Cannot repro it with EN Win98SE. [Steps] 1. Open this bug report with Netscape. 2. Observe the Netscape title bar. [Actual] 'צה' is displayed as 'oa' in the title bar.
Attached image bug 97671 (deleted) —
Keywords: intl
QA Contact: andreasb → ruixu
Status: NEW → ASSIGNED
Summary: 'צה' is displayed as 'oa' in the title bar → '?' is displayed as 'oa' in the title bar
Target Milestone: --- → mozilla0.9.5
===assigning to jbetak
Assignee: yokoyama → jbetak
Status: ASSIGNED → NEW
Attached file test cases (deleted) —
on NT, we should call SendMessageW with the unicode . see the function nsWindow::SetTitle on mozilla/widget/src/windows/nsWindow.cpp reassign to yokoyama
Assignee: jbetak → yokoyama
Blocks: 101606
Status: NEW → ASSIGNED
Target Milestone: mozilla0.9.5 → mozilla0.9.6
ftang: I've tried calling SendMessageW(); but I didn't see any changes to the title bar. NS_METHOD nsWindow::SetTitle(const nsString& aTitle) { + LRESULT rv = 0; + if (nsToolkit::mIsNT) { + rv = ::SendMessageW(mWnd, WM_SETTEXT, (WPARAM)0, (LPARAM)(LPCTSTR)aTitle.get()); + } + else { char* title = GetACPString(aTitle); if (title) { rv = ::SendMessageA(mWnd, WM_SETTEXT, (WPARAM)0, (LPARAM)(LPCTSTR)title); delete [] title; } + } return NS_OK; } Either case, rv is returned TRUE. I don't see merit of using the patch. It may or may not address ruixu's case on W2K-Ko and other OSs. (FYI I am using W2K-Ja.) Anybody have suggestions?
It look like the window default proce convert it to ansi code page in between. I try a stand along app and change RegisterClassExW CreateWindowW SendMessageW and DefWindowProcW and then it can display unicode on window title on NT4J somehow that does not work on mozilla (roy and I hack around for 1 hours but cannot make it work)
I believe we need to compile Mozilla as an Unicode app. == marking as future =====
Target Milestone: mozilla0.9.6 → Future
Blocks: 104320
*** Bug 94011 has been marked as a duplicate of this bug. ***
*** Bug 94024 has been marked as a duplicate of this bug. ***
Can repro this bug with JA build 2001-10-22 on Linux as well, change OS to ALL.
OS: Windows 98 → All
Keywords: nsbeta1
nsbeta1- works for default OS locale
Keywords: nsbeta1nsbeta1-
*** Bug 123494 has been marked as a duplicate of this bug. ***
Isn't this a duplicate of bug 9449?
Yokoyama-san: it looks like a duplicate of bug 9449, please add bug 9449 to the dependency tree, and changing resolution to REMIND, I will review it once bug 9449 get fixed.
BTW, bug 9449 was fixed by attachment 41935 [details] [diff] [review] (checked in last July) for Linux as long as KDE 2.2 or higher is used where UTF8_STRING is supported for inter-client communication.
Target Milestone: Future → mozilla1.2beta
Status: ASSIGNED → RESOLVED
Closed: 22 years ago
Depends on: 9449
Resolution: --- → REMIND
REMIND is deprecated.
Status: RESOLVED → REOPENED
Resolution: REMIND → ---
Rewiring. This should be tested to make sure bug 9449 is fixed.
Blocks: 9449
No longer depends on: 9449
nsbeta1+ for m1.2final
Keywords: nsbeta1-nsbeta1+
Whiteboard: [eta: 8/16/2002]
Target Milestone: mozilla1.2beta → mozilla1.2alpha
Target Milestone: mozilla1.2alpha → mozilla1.2beta
Fixed with 104934 for windows platforms (NT base only). I think Win9x base system has limitation of Unicode support. There aren't much we can do for Win9x base systems. Options for Win9x are: - we don't display the page title. (IE doesn't diplay in Win9x as well, I think) - use widget control for the title bar. (more work, little gain) I think this bug should be marked fixed. Please reopen if someone disagrees.
Status: REOPENED → RESOLVED
Closed: 22 years ago22 years ago
Resolution: --- → FIXED
QA Contact: ruixu → ylong
Verified this was fixed on Roy's windows test build on WinXP and Win2K, as comment above Win9x won't show properly.
Mark as verified.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: