Javascript with extended ASCII Characters no longer working correctly

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi 

We upgraded our Apache installation a short while ago and have recently noticed
some problems with Javascript no longer working correctly where splits are being
performed on extended ASCII characters. We have tried just about everything we
can think of and are wondering if any changes in the 2.x Apache stream may be
causing our problem.

The piece of javascript is as follows

UserInitials = parent.window.sys_frame.document.sys_form.user_select[x].value.split("\xFD");

and this worked fine until the recent change. The split worked fine on the \0xFD

We have found today that to get this to work we must change it to

UserInitials = parent.window.sys_frame.document.sys_form.user_select[x].value.split("ý");

After many hours of google searching we can find no reason why the change
should be needed from \xFD to ý.

We are using Apache 2.2.0 on a Fedora Core 5 box. We have tested with IE 5.5, 6
and 7.

I would appreciate any thoughts on this problem as I am trying to find a way
around having to make hundreds of changes to our existing javascript code.



Regards,
Richard Luckhurst                      
Product Development
Exodus Systems - Sydney, Australia.



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux