Hi,

encoding is working the way it should

see:
  http://www.w3.org/International/questions/qa-controls

Regards

Thomas

On 31.10.2008 07:43, joe ertaba wrote:
Hi,

I have found that encoding does not work in xul, here is an example

<?xml version="1.0"* encoding="ISO-8859-1"*?>
<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
<window id="yourwindow" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul";>
<script type="text/javascript">
<![CDATA[
// put some js code here
]]>
</script>
<label value="Click on ME" onclick="
value= '1'+String.fromCharCode(8)+'3'
"/>
</window>

Here is list of character encoding for Iso-8859-1 (http://en.wikipedia.org/wiki/Iso-8859-1), It must support backspace,.... but why noting happens in my example ?
------------------------------------------------------------------------

_______________________________________________
Project_owners mailing list
[email protected]
https://www.mozdev.org/mailman/listinfo/project_owners


Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

_______________________________________________
Project_owners mailing list
[email protected]
https://www.mozdev.org/mailman/listinfo/project_owners

Reply via email to