[Ecls-list] Release status

Juan Jose Garcia-Ripoll juanjose.garciaripoll at googlemail.com
Sun Jun 24 12:08:11 UTC 2012


On Sun, Jun 24, 2012 at 1:31 PM, Alessandro Serra <gas.hale at gmail.com>wrote:

> Hi,
> there is a typing error in legacy.h: "FINXUMP".
>
> #define FIXNUMP(o)              ECL_FINXUMP(o)
>

Thanks, I will correct it.


> A question. There is any function to create a string object from a
> wchar_t array?
> May be something similar at "make_simple_base_string" for char arrays?
> Thanks,


Not really. It is not that easy, for wchar_t does not have a standard
interpretation: it is locale-dependent. As explained in Unicode:

The width of wchar_t is compiler-specific and can be as small as 8 bits.
Consequently, programs that need to be portable across any C or C++
compiler should not use wchar_t for storing Unicode text. The wchar_t type
is intended for storing compiler-defined wide characters, which may be
Unicode characters in some compilers.


Juanjo

-- 
Instituto de Física Fundamental, CSIC
c/ Serrano, 113b, Madrid 28006 (Spain)
http://juanjose.garciaripoll.googlepages.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/ecl-devel/attachments/20120624/fc0b808e/attachment.html>


More information about the ecl-devel mailing list