Re: Win32: Commandline/batch ANSI-UTF8-UTF16-UTF8-ANSI conversion too

From: Michael \(michka\) Kaplan (michka@trigeminal.com)
Date: Thu Sep 07 2000 - 22:29:07 EDT


Heh heh heh... thats the one I was going to suggest for the UTF-8
conversions... :-)

i would stronly recommend you use StrConv for the non-UTF-8 ones though,
because it is roughly twice as fast (the slowness of Declare statements in
VB).

Although I do have a test version that uses Matt Curland's function pointer
work that is slightly faster than the version that is there now, and a VB
wrapper around MLang in the October VBPJ that is slower for single
conversions but can be faster for multiple conversions....

I swear I see red whenever I think about how easy it would have been to
support UTF-8 but they chose not to since they had that LCID-based model.
:-(

michka

----- Original Message -----
From: "Mikko Lahti" <MikkoL@onyx.com>
To: "Michael (michka) Kaplan" <michka@trigeminal.com>; "Unicode List"
<unicode@unicode.org>
Sent: Thursday, September 07, 2000 7:20 PM
Subject: RE: Win32: Commandline/batch ANSI-UTF8-UTF16-UTF8-ANSI conversion
too

> Mostly to convert files. I think I could do it with MLANG but I was hoping
> that there already are some tools to do it (or a VB wrapper since my C is
> not that good ;>).
>
> I was looking at your web site (excellent, by the way), and I think I can
do
> it with your TSI Conversion DLL.
>
> Mikko
>
> -----Original Message-----
> From: Michael (michka) Kaplan [mailto:michka@trigeminal.com]
> Sent: September 07, 2000 19:08
> To: Mikko Lahti; Unicode List
> Subject: Re: Win32: Commandline/batch ANSI-UTF8-UTF16-UTF8-ANSI
> conversion too
>
> I do not think there is one, actually.
>
> Are you looking to convert files or strings you send via the command line?
>
> michka
>
>
> ----- Original Message -----
> From: "Mikko Lahti" <MikkoL@onyx.com>
> To: "Unicode List" <unicode@unicode.org>
> Sent: Thursday, September 07, 2000 6:31 PM
> Subject: Win32: Commandline/batch ANSI-UTF8-UTF16-UTF8-ANSI conversion too
>
>
> > Are there any Win32 command line or batch ANSI to Unicode conversions
> tools
> > out there?
> >
> > Desired conversions are:
> >
> > - Windows-1252 to UTF-8
> > - Windows-1252 to UTF-16
> > - UTF-8 to Windows-1252
> > - UTF-16 to Windows-1252
> > - UTF-8 to UTF-16
> > - UTF-16 to UTF-8
> >
> > Later,
> >
> > Mikko
> > Globalization Specialist
> > Onyx Software - Bringing e-business and business together
> > MikkoL@onyx.com
> > www.onyx.com
> > 425.519.4172
> >
> >
>



This archive was generated by hypermail 2.1.2 : Tue Jul 10 2001 - 17:21:13 EDT