Re: FW: Subj: Ansi/Unicode data diagnostics

From: Markus Scherer (markus.scherer@jtcsv.com)
Date: Fri Feb 04 2005 - 14:04:14 CST

  • Next message: Peter Constable: "RE: Surrogate points"

    "ANSI" as used by Windows documentation, to mean "neither Unicode nor DOS"?

    > First question. Is there any tool that I can use to detect ANSI data or Unicode data format detection?

    I suggest a web search for "charset detection" or "code page detection" or similar.

    > Second question. can we convert ANSI data type to Unicode data type?

    If you are on Windows itself, use the Windows APIs. There is one like MultiByteToWideChar() (not
    sure about the exact spelling), and there is a COM API as well.

    If you are not on Windows, you could use ICU. http://ibm.com/software/globalization/icu

    markus



    This archive was generated by hypermail 2.1.5 : Fri Feb 04 2005 - 14:12:36 CST