Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

UNICODE to ANSI ("???" to "日本語")

Status
Not open for further replies.

Mackan2009

Programmer
Jul 22, 2009
11
SE
Hi! I have a string in JavaScript, "???".

I need to convert this to ANSI, "日本語".

Of course I want to be able to change the UNICODE (probably UTF8) and then get its ANSI characters (or is it ASCII? I think it's ANSI).

Thank you very much if you can help me with this!!!
 
Have you googled on the issue? I am sure (100%) high quality low-level conversion routine is available for your study and practical use as well.

If you mean to use for administration purpose of making file transforming without using lower-level algorithm for the conversion, you can use commonly available resources: for php script, use fopen() and iconv() would be sufficient to do the job; for vbscript/jscript, you can use commonly available resources (activex) adodb.stream for the conversion or even msxml2.domdocument with datatyping to make it done.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top