From: "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de>
Subject: Re: Take Command Plugin, Win32Ada and Ada.Directories
Date: Wed, 14 Nov 2007 15:22:55 +0100
Date: 2007-11-14T15:15:54+01:00 [thread overview]
Message-ID: <1uxehqhjyj9tb$.1kijqqh179oad$.dlg@40tude.net> (raw)
In-Reply-To: 1195039184.134708.325400@57g2000hsv.googlegroups.com
On Wed, 14 Nov 2007 11:19:44 -0000, Vadim Godunko wrote:
> On Nov 14, 12:31 pm, Georg Bauhaus <rm.tsoh
> +bauh...@maps.futureapps.de> wrote:
>>
>> package IConv is
>>
>> -- the missing link to, e.g.
>> --http://www.gnu.org/software/libiconv/
>>
>> end IConv;
>>
> This sees as too complex solution for me. Long time we are using only
> Wide_Character and Wide_String in our code and bindings to the
> wcstombs(3)/mbstowcs(3) functions pair for conversion between locale
> multibyte (char *) strings and wide (wchar_t *) strings. This work
> well on most *nix systems, I don't known does or doesn't it work on
> Windows.
MS Visual C++ has them. In API there is MultiByteToWideChar
http://msdn2.microsoft.com/en-us/library/ms776413.aspx,
which does not what its name suggests (should be MultiByteToMultiWORD (:-))
The problem is that Windows since NT is UTF-16, rather than UCS-2. So to
use Wide_String just makes no any sense. It is not an array of characters
anyway. Thus one could use plain String instead.
--
Regards,
Dmitry A. Kazakov
http://www.dmitry-kazakov.de
next prev parent reply other threads:[~2007-11-14 14:22 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-11-12 19:53 [ranting] Take Command Plugin, Win32Ada and Ada.Directories Martin Krischik
2007-11-13 8:57 ` Dmitry A. Kazakov
2007-11-13 9:52 ` Martin Krischik
2007-11-13 21:08 ` Pascal Obry
2007-11-14 8:33 ` Dmitry A. Kazakov
2007-11-14 8:56 ` Martin Krischik
2007-11-14 9:31 ` Georg Bauhaus
2007-11-14 11:19 ` Vadim Godunko
2007-11-14 14:22 ` Dmitry A. Kazakov [this message]
2007-11-14 20:15 ` Martin Krischik
2007-11-15 8:37 ` Dmitry A. Kazakov
2007-11-14 13:15 ` [ranting] " Martin Krischik
2007-11-14 13:31 ` Georg Bauhaus
2007-11-14 14:36 ` Dmitry A. Kazakov
2007-11-14 15:13 ` Georg Bauhaus
2007-11-14 15:35 ` Dmitry A. Kazakov
2007-11-14 16:22 ` Georg Bauhaus
2007-11-14 19:32 ` Martin Krischik
2007-11-15 8:54 ` Dmitry A. Kazakov
2007-11-16 6:54 ` Randy Brukardt
2007-11-14 19:23 ` Martin Krischik
2007-11-14 20:05 ` Georg Bauhaus
2007-11-14 19:21 ` Martin Krischik
2007-11-14 9:36 ` Dmitry A. Kazakov
2007-11-14 18:38 ` Martin Krischik
2007-11-15 1:51 ` John W. Kennedy
2007-11-15 9:08 ` Dmitry A. Kazakov
2007-11-14 8:49 ` Martin Krischik
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox