Re: Converting from utf-8 to Ansi directly

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



No, the internal tables are keyed around the Unicode values, and so require
Unicode as an intermediate step. If this were not so then there would be
many more lookup tables required. For instance N*(N-1) rather than 2*N,
where N is the number of supported code pages

Tony Proctor

"dkyu" <dkyu80@xxxxxxxxx> wrote in message
news:1133977910.206864.72260@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
> Thx to all the reply.
>
> Actually, as I find out more of my task, I realize I need a way to
> convert from one code page to another code page directly.
> It seems like I always need to use Unicode as a middle step, and as a
> result, I need to do 2 conversions.
>
> Is there any other way, that i can just go from one code page to
> another directly?
>


.



Relevant Pages

  • Re: Converting from utf-8 to Ansi directly
    ... Thx to all the reply. ... It seems like I always need to use Unicode as a middle step, ... I need to do 2 conversions. ... Prev by Date: ...
    (microsoft.public.win32.programmer.kernel)
  • cannot delete files under NTFS
    ... files with what looks like unicode names. ... format the drive, I'd just rather not buy another drive to backup my ... Prev by Date: ...
    (microsoft.public.windowsxp.general)
  • Re: UTF-8
    ... > How can I transform CString into UTF-8? ... First, convert it to Unicode, then look at implementation of ... AtlUnicodeToUTF8 function. ... Prev by Date: ...
    (microsoft.public.vc.mfc)
  • Re: Printing a random access file
    ... Strings are stored as Unicode so U might be better off using LenB ... > Get #3, Index, Player ... Prev by Date: ...
    (comp.lang.basic.visual.misc)
  • Re: Unicode support in Dexter?
    ... > CLX supports Unicode? ... Yes because the base framework supports it. ... Regards, ... Prev by Date: ...
    (borland.public.delphi.non-technical)