I know it's not a javascript forum, but I wonder if there is a problem within
WH..
I have a problem with the javascript function String.fromCharCode()
when I write for example String.fromCharCode("101") it doesn't convert it into
a 'e' but into a space
for example :
<scriptlanguage="javascript">
var test = 'goberna';
var reg=new RegExp('&#0*([0-9]+);', 'g');
test= test.replace(reg, String.fromCharCode("$1"));
</script>
The result is: "g b rn "
Any idea ?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I know it's not a javascript forum, but I wonder if there is a problem within
WH..
I have a problem with the javascript function String.fromCharCode()
when I write for example String.fromCharCode("101") it doesn't convert it into
a 'e' but into a space
for example :
Any idea ?