Closed
Bug 97671
Opened 23 years ago
Closed 22 years ago
'?' is displayed as 'oa' in the title bar
Categories
(Core :: Internationalization, defect)
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.
Assignee | ||
Updated•23 years ago
|
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
Assignee | ||
Comment 2•23 years ago
|
||
===assigning to jbetak
Assignee: yokoyama → jbetak
Status: ASSIGNED → NEW
Comment 3•23 years ago
|
||
Comment 4•23 years ago
|
||
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
Assignee | ||
Updated•23 years ago
|
Status: NEW → ASSIGNED
Assignee | ||
Updated•23 years ago
|
Target Milestone: mozilla0.9.5 → mozilla0.9.6
Assignee | ||
Comment 5•23 years ago
|
||
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?
Comment 6•23 years ago
|
||
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)
Assignee | ||
Comment 7•23 years ago
|
||
I believe we need to compile Mozilla as an Unicode app.
== marking as future =====
Target Milestone: mozilla0.9.6 → Future
Reporter | ||
Comment 10•23 years ago
|
||
Can repro this bug with JA build 2001-10-22 on Linux as well, change OS to ALL.
OS: Windows 98 → All
Comment 11•23 years ago
|
||
nsbeta1-
works for default OS locale
Comment 12•23 years ago
|
||
*** Bug 123494 has been marked as a duplicate of this bug. ***
Comment 13•23 years ago
|
||
Isn't this a duplicate of bug 9449?
Reporter | ||
Comment 14•23 years ago
|
||
Comment 15•23 years ago
|
||
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.
Assignee | ||
Updated•22 years ago
|
Target Milestone: Future → mozilla1.2beta
Assignee | ||
Comment 16•22 years ago
|
||
as per comment #14
Comment 18•22 years ago
|
||
Rewiring. This should be tested to make sure bug 9449 is fixed.
Comment 19•22 years ago
|
||
nsbeta1+ for m1.2final
Assignee | ||
Updated•22 years ago
|
Target Milestone: mozilla1.2alpha → mozilla1.2beta
Assignee | ||
Comment 20•22 years ago
|
||
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 ago → 22 years ago
Resolution: --- → FIXED
Comment 21•22 years ago
|
||
Verified this was fixed on Roy's windows test build on WinXP and Win2K, as
comment above Win9x won't show properly.
You need to log in
before you can comment on or make changes to this bug.
Description
•