473,785 Members | 3,352 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Zero width space still unsafe?

Jukka reports on
http://www.cs.tut.fi/~jkorpela/chars/spaces.html
that Internet Explorer 6 fails on the "zero width space" U+200B ​

Is this observation still valid? For which versions of MS Windows
does it apply? Does it depend on the encoding (charset)?
I have a test page in three encodings:
http://www.unics.uni-hannover.de/nht...temp/zwsp.html
http://www.unics.uni-hannover.de/nht...mp/zwsp.html11
http://www.unics.uni-hannover.de/nhtcapri/temp/zwsp.tis
After each letter "z" there is a "zero width space". Do you see
an empty box instead? The correct browser behaviour would be
to allow a line break after "zero width space".
http://validator.w3.org does not recognize ISO-8859-11.
Why not?

Jul 23 '05 #1
28 9080
On Mon, 20 Dec 2004, Andreas Prilop wrote:
http://validator.w3.org does not recognize ISO-8859-11.
Why not?


Hmmm, Google's hit for this:

http://mail.apps.ietf.org/ietf/charsets/msg01362.html

(which leads to

http://mail.apps.ietf.org/ietf/charsets/msg01363.html )

says that (as of April 2003) it hadn't been registered at IANA.

And it's still not registered with IANA (although 8859-16, which
I think came in at around the same time, is there)
Jul 23 '05 #2
On Mon, 20 Dec 2004 15:46:54 +0100, Andreas Prilop
<nh******@rrz n-user.uni-hannover.de> wrote:
Jukka reports on
http://www.cs.tut.fi/~jkorpela/chars/spaces.html
that Internet Explorer 6 fails on the "zero width space" U+200B ​

Is this observation still valid? For which versions of MS Windows
does it apply? Does it depend on the encoding (charset)?
I have a test page in three encodings:
http://www.unics.uni-hannover.de/nht...temp/zwsp.html
http://www.unics.uni-hannover.de/nht...mp/zwsp.html11
http://www.unics.uni-hannover.de/nhtcapri/temp/zwsp.tis
After each letter "z" there is a "zero width space". Do you see
an empty box instead? The correct browser behaviour would be
to allow a line break after "zero width.
Mozilla and Firefox behaves as required, i.e. no "empty box" and
correct line breaks at various points depending on UA window width.

IE6(+latest SP) is also correct for UTF-8 but...

....it shows the box for the other two examples but still linebreaks at
points either before or after the boxes depending on window width.
Peculiar behavior :-)
http://validator.w3.org does not recognize ISO-8859-11.
Why not?


Que Nick?

--
Rex
Jul 23 '05 #3
On Mon, 20 Dec 2004, Jan Roland Eriksson wrote:

[IE...]
... shows the box for the other two examples but still linebreaks at
points either before or after the boxes depending on window width.


Strange, it doesn't do that for me (neither IE6 Win2K nor XP SP2).

However, I do believe that both of them have the Japanese language
option installed. Yup: control panel -> regional options shows that
my Win2k has Japanese and various other language options enabled,
though *not* Thai; whereas this XP has the boxes turned on for
"complex script... including Thai" and "East Asian languages".
Jul 23 '05 #4
On Mon, 20 Dec 2004 16:22:53 +0000, "Alan J. Flavell"
<fl*****@ph.gla .ac.uk> wrote:
On Mon, 20 Dec 2004, Jan Roland Eriksson wrote:
[IE...]
... shows the box for the other two examples but still linebreaks at
points either before or after the boxes depending on window width.


Strange, it doesn't do that for me (neither IE6 Win2K nor XP SP2).
...I do believe that both of them have the Japanese language
option installed. Yup: control panel -> regional options shows that
my Win2k has Japanese and various other language options enabled,
though *not* Thai; whereas this XP has the boxes turned on for
"complex script... including Thai" and "East Asian languages".


XP-Pro+Sp2 here and IE6+latest SP (plus all the latest sequrity stuff of
course) but no "fancy" langauages, only English and Swedish AFAICS.

(I can't read anything but text in Western alphabets anyway :-)

--
Rex
Jul 23 '05 #5
On Mon, 20 Dec 2004, Jan Roland Eriksson wrote:
(I can't read anything but text in Western alphabets anyway :-)


Neither can I, but by installing Japanese I found I got a load of
interesting symbols to display in IE, which were otherwise
unavailable, even though they had no evident relevance to Japanese.

(AFAIR, most of them were previously displaying just fine in Mozilla,
which was finding them from somewhere or other - but IE wasn't finding
them, as I discuss on my browsers-fonts web page.)
Jul 23 '05 #6
In article <Pine.GSO.4.44. 0412201534460.1 2988-100000@s5b004>,
Andreas Prilop <nh******@rrz n-user.uni-hannover.de> wrote:
http://www.unics.uni-hannover.de/nht...temp/zwsp.html
http://www.unics.uni-hannover.de/nht...mp/zwsp.html11
http://www.unics.uni-hannover.de/nhtcapri/temp/zwsp.tis
After each letter "z" there is a "zero width space". Do you see
an empty box instead?


I see a box in Firefox (trunk) on OS X.

--
Henri Sivonen
hs******@iki.fi
http://iki.fi/hsivonen/
Mozilla Web Author FAQ: http://mozilla.org/docs/web-developer/faq.html
Jul 23 '05 #7
On Mon, 20 Dec 2004 17:59:50 +0000, "Alan J. Flavell"
<fl*****@ph.gla .ac.uk> wrote:
On Mon, 20 Dec 2004, Jan Roland Eriksson wrote:
(I can't read anything but text in Western alphabets anyway :-)


Neither can I, but by installing Japanese I found I got a load of
interesting symbols to display in IE, which were otherwise
unavailable, even though they had no evident relevance to Japanese.


It works for me, no fancy language packs installed. Is it perhaps
font related?

Jim.
--
comp.lang.javas cript FAQ - http://jibbering.com/faq/

Jul 23 '05 #8
On Mon, 20 Dec 2004, Jim Ley wrote:
It works for me, no fancy language packs installed.
That's a useful data point, thanks. Would that be XP?
Is it perhaps font related?


Could well be - I'm afraid my understanding of Windows internals
is quite lacking - most of what I think I've grasped has been done
by experimenting. And installing and de-installing fonts and language
packs to prove a point, rapidly gets stale, as I'm sure you'd agree,

There do seem to be some typographical issues that can only be
resolved by installing the relevant language pack. I'm afraid I
don't really know whether this is one of them or not.
Jul 23 '05 #9
On Mon, 20 Dec 2004 21:23:36 +0000, "Alan J. Flavell"
<fl*****@ph.gla .ac.uk> wrote:
On Mon, 20 Dec 2004, Jim Ley wrote:
It works for me, no fancy language packs installed.


That's a useful data point, thanks. Would that be XP?


Yes XP SP2

The only thing that might be thought of as increasing support for more
chars was manually installing Arial Unicode.

Jim.
--
comp.lang.javas cript FAQ - http://jibbering.com/faq/

Jul 23 '05 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
7750
by: Stephen Weatherly | last post by:
Could anyone please help me with a problem I am having with my table widths??? If I have 2 images within a td tag, but using CSS relative positioning I position one over the top of the second (I am placing a transparent gif over the top of a normal gif) then the width of my table is large enough to accommodate both images side by side My browsers (both IE ad Firefox) do not appear take into account the relative positioning of my...
1
2391
by: pmgriffin | last post by:
Hi all, i'm attempting to overcome the problem of table cell contents overflowing by inserting zero-width spaces into the content string. The scheme is working correctly in that i know longer receive overflow errors. Unfortunately the zero-width spaces are being rendered as visible white space such that www.urlname.com becomes www. urlname. com. My xsl try to replace the '.' with '.&#x200B;' which should give me the url without the...
9
3945
by: web1110 | last post by:
Hi y'all, I have resized the columns in a DataGrid and I want to set the width of the DataGrid to fit the columns. Just summing the column widths is too short due to the grid and gray row selection column on the left. I have the widths of the columns. What other values do I need to include in the DataGrid width? Thanx,
3
2400
by: Ali Sahin | last post by:
Hi there, I'd like to transform a XML-File to PDF. The XML-File ist build like followed: <?xml version="1.0" encoding="UTF-8" standalone="yes" ?> <?xml-stylesheet type="text/xsl" href="D:\app\jboss-3.2.5\server\default\deploy\xifs.war\WEB-INF\classes\de\xifs\resource\xml\de\xifs\resource\xml\dunningaccountreport_de.xsl"?> <!DOCTYPE entities >
50
6081
by: Shadow Lynx | last post by:
Consider this simple HTML: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 STRICT//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" > <head> <title>Strict kills my widths!</title> </head> <body> <table style="width:400px; table-layout:fixed;">
6
28100
by: Hacking Bear | last post by:
Hi, I still don't quite fully understand how to handle mixing border/margin pixel width with percentage width. In the example below, I want to place side-by-side two DIV boxes inside a box. 1. Each box takes up 50% of the parent. 2. One of the box has a border width of 1px.
5
3480
by: GarryJones | last post by:
I have code numbers in 2 fields from a table which correspond to month and date. (Month, Code number) Field name = ml_mna 1 2 3 etc up to 12 (Data is entered without a leading zero)
1
1577
by: dmitry sychov | last post by:
Hello, There should be no red lines - and Mozilla does not display them but IE does... <inputshould take the whole space of its parent element (<div>) Any workaround? <br><br><br><br>
8
2887
by: rodeored | last post by:
page: http://reenie.org/test/blockpadding.htm code:<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"> <html> <head> <title>test</title> </head> <body> <h2 style='padding:0; border:solid 1px red;'>A bunch of text</h2> </body> </html>
0
9643
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10315
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10085
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8968
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7494
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6737
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5379
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4045
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2877
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.