> It appears taking a break is the best cure. Some progress:

Yes.  It certainly is.  Good to hear the problem's solved.

[snip]
> Find/Replace  [the invisible] ZWNJ in Notepad is no problem becuase I
> have the Persian Experimental Keyboard and ZWNJ is right on Shift-b.
> Although I can't actually SEE that I've typed ZWNJ in the Find box, it
> really is there. So now in my .js array, I have a few Persian words
> with \u200c right in the middle of the Persian script.

Interesting.  Sorry for my ignorance, but is that keyboard available
publicly?

> It doesn't seem like the browsers should be able to handle that but
> now I see it's not a problem.

Why not?  The \uxxxx syntax allows you to represent Unicode characters in
JavaScript.

> Only thing I have to
> remember is to re-open the Notepad file in a non-WYSIWYG editor and
> delete that BOM creature.
>
> Mozilla is now able to "find" my words containing ZWNJ which was the
> whole point of this exercise.
>
> One small problem still remains: in Mozilla, if you click on any Tajik
> word, it shows you the Persian counterpart in the popup.
> But Mozilla is not able to display the ZWNJ so that is ignored.
> I'm not sure what to do to solve this.

Well, on Mozilla1.2.1 that I tested it on, if you replaces ZWNJ in the
description of the Tajik array indices with ‌ then it seems to work
happily.  Try giving it a test.

-------------
Ehsan Akhgari

Farda Technology (http://www.farda-tech.com/)

List Owner: [EMAIL PROTECTED]

[ Email: [EMAIL PROTECTED] ]
[ WWW: http://www.beginthread.com/Ehsan ]



_______________________________________________
PersianComputing mailing list
[EMAIL PROTECTED]
http://lists.sharif.edu/mailman/listinfo/persiancomputing

Reply via email to