champion
08-22-2002, 04:11 AM
Hi,
I want to use Javascript to print out all the Unicode characters but I just failed to do so.
I know I need to do something like this
document.write("\uff1e");
But that is when my input is static. I want my input to be variable.
I.e,
for (i=0; i<65355; i++)
document.write(getHex(i));
But I just keep getting javacript error or it prints out "\uffef". I just don't know how to implement the getHex function.
Please help me.
Thanks and urgent.
I want to use Javascript to print out all the Unicode characters but I just failed to do so.
I know I need to do something like this
document.write("\uff1e");
But that is when my input is static. I want my input to be variable.
I.e,
for (i=0; i<65355; i++)
document.write(getHex(i));
But I just keep getting javacript error or it prints out "\uffef". I just don't know how to implement the getHex function.
Please help me.
Thanks and urgent.