what the built-in or user-defined function that I can use in Javascript or jQuery to convert from one character encoding to another?
For Example, FROM "utf-8" TO "windows-1256" OR FROM "windows-1256" TO "utf-8"
A practical use of that is if you have a php page with specific character encoding like "windows-1256" that you could not change it according to the business needs and when you use ajax to send a block data from database using json which uses "utf-8" encoding only so you need to convert the ouput of json to this encoding so that the characters and the strings will be displayed well
Thanks in advance .....