javascript function to convert charterset code example Example: javascript string to ascii array String.fromCharCode('a');