Re: Unicode and Encoding Problems in Browsers

2003-02-20 Thread Muhammad Asif

can it be problem with Uniscribe (USP10.dll) shiped with Windows2000 and 
IE? ie. may be characters appearing as rectangles are not supported in 
particualar version of Uniscribe.

But then why Netscape is rendering these properly?

Asif

At 12:56 PM 2/7/2003 +, Shlomi Tal wrote:
I'd like to mention that this problem which Muhammad Asif brings forth is 
an extant one in my circle of work. I work as PC technician, and one 
complaint I often get in tech support calls is that the user is unable to 
type Hebrew in the Search box in the MSN Israel website (msn.co.il) under 
Windows XP. At the first time, I told the user to set the Language for 
Non-Unicode Programs (known as the System Locale in Windows 2000, which 
sets the emulated ANSI codepage), but it didn't help: the user still 
complained of seeing boxes instead of proper Hebrew letters. The encoding 
of MSN.co.il is Hebrew (Windows).

It doesn't happen under all machines. Mine at home runs XP too, but I 
don't have that problem. I suspect it's not related to Unicode/encodings 
stuff at all. The fact that it appears only under XP (and not 2000 or 98, 
for instance) leads me to believe it may have something to do with the 
Java VM (which is by default lacking in XP and updates browser components 
when installed).

I hope that is of some enlightenment.

ST

_
MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. 
http://join.msn.com/?page=features/virus







Re: Unicode and Encoding Problems in Browsers

2003-02-20 Thread Muhammad Asif
Chris   thx for yr reply.
well, i have a letter that i wrote as label of text box and its very fine 
in IE, now i type same letter in text box but it appear as rectangle? And 
when i save the data submitted from form into database and retrieve it back 
its appearing very fine as label(though it was displayed as rectangle ). 
Problem is just when i type in text box? As you said this seems to be 
problem with font but why it appears correct as label then?

Also i am using MS San Sarif which is mentioned on XP site to support 
Arabic/Urdu characters.

Asif



Glyphs appearing as rectangles usually means that the font being used to 
display the document does not contain the glyphs to display those 
characters (- or sometimes that there are errors in the glyph outlines 
which can prevent them from being properly rendered on some systems).

This problem will often occur if the character set being used to display 
the web page is wrong (misinterpreted by the browser) - since the font may 
not contain glyphs for *that* character set. When a glyph outline for a 
particular character is not present in a font then the default glyph 
defined in that font (usually an empty rectangle) is displayed for that 
character.

An OpenType font should contain glyphs for the nominal forms of all the 
Unicode characters it supports - and these nominal glyph forms should be 
mapped directly to the corresponding Unicode codepoints. Thus, even 
without Uniscribe, the nominal glyphs for those characters should be 
displayed by the basic font rendering system - though you won't get any of 
the contextual shaping relying on OpenType lookups which under Windows are 
handled by Uniscribe.

- Chris





Re: Unicode and Encoding Problems in Browsers

2003-02-09 Thread Muhammad Asif
Tal,

I have checked it with window 2000 Server and NT, same problem lies there.
I also checked it by installing jvm for windows but no use.

On Win XP Professional i checked it with Netscapte 7.0 and it works fine. 
All the characters are displayed properly in text boxes.

I will check it down on Win 98 too.


Asif

At 12:56 PM 2/7/2003 +, Shlomi Tal wrote:
I'd like to mention that this problem which Muhammad Asif brings forth is 
an extant one in my circle of work. I work as PC technician, and one 
complaint I often get in tech support calls is that the user is unable to 
type Hebrew in the Search box in the MSN Israel website (msn.co.il) under 
Windows XP. At the first time, I told the user to set the Language for 
Non-Unicode Programs (known as the System Locale in Windows 2000, which 
sets the emulated ANSI codepage), but it didn't help: the user still 
complained of seeing boxes instead of proper Hebrew letters. The encoding 
of MSN.co.il is Hebrew (Windows).

It doesn't happen under all machines. Mine at home runs XP too, but I 
don't have that problem. I suspect it's not related to Unicode/encodings 
stuff at all. The fact that it appears only under XP (and not 2000 or 98, 
for instance) leads me to believe it may have something to do with the 
Java VM (which is by default lacking in XP and updates browser components 
when installed).

I hope that is of some enlightenment.

ST





Unicode and Encoding Problems in Browsers

2003-02-07 Thread Muhammad Asif
Hi,
I actually want to enter some Arabic text in simple HTML text box . I set 
language in my Windows XP settings to Arabic. When i tried to type, there 
are certain characters that are not displayed. Instead rectangles are 
displayed. Characters are from Unicode BMP which is supposed to be 
supported by browsers. I am using IE 6.0

Also default encoding of browser is UTF-8, but if i change the encoding to 
default windows Western European it works fine and every character is got 
displayed. Problem in this is when form is submitted you did not get 
Unicode characters but their entity references in HTML.

How can i make browser work to display unicode characters with UTF-8 
encoding. So when form is submitted i get Unicode data to store in data base.

Thanks a lot for your time.

Asif 




Re: Unicode and Encoding Problems in Browsers

2003-02-07 Thread Otto Stolz
Muhammad Asif wrote:


When i tried to type, there are certain characters that are not displayed.



Instead rectangles are displayed.



This is the typical behaviour if the font in use does not comprise
a particular character.

Either, there is no suitable font installed on your system,
or the WWW page to be displayed requires a particular, yet
unsuitable font.

Cf. http://www.alanwood.net/unicode/ for more info on fonts
and browsers.

Best wishes,
  Otto Stolz





Re: Unicode and Encoding Problems in Browsers

2003-02-07 Thread Shlomi Tal
I'd like to mention that this problem which Muhammad Asif brings forth is an 
extant one in my circle of work. I work as PC technician, and one complaint 
I often get in tech support calls is that the user is unable to type Hebrew 
in the Search box in the MSN Israel website (msn.co.il) under Windows XP. At 
the first time, I told the user to set the Language for Non-Unicode 
Programs (known as the System Locale in Windows 2000, which sets the 
emulated ANSI codepage), but it didn't help: the user still complained of 
seeing boxes instead of proper Hebrew letters. The encoding of MSN.co.il is 
Hebrew (Windows).

It doesn't happen under all machines. Mine at home runs XP too, but I don't 
have that problem. I suspect it's not related to Unicode/encodings stuff at 
all. The fact that it appears only under XP (and not 2000 or 98, for 
instance) leads me to believe it may have something to do with the Java VM 
(which is by default lacking in XP and updates browser components when 
installed).

I hope that is of some enlightenment.

ST

_
MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. 
http://join.msn.com/?page=features/virus