In our previous episode, Felipe Monteiro de Carvalho said:
> On Tue, Aug 11, 2009 at 12:43 PM, Marco van de Voort wrote:
> > The lowest level is unit charset in the rtl, Unix style iconv is supported
> > by package iconvenc.
>
> The charset unit doesn't look complete or usable.
Afaik it is. The u
I have my own on ported from IConv in
http://www.sourceforge.net/projects/minilib
check
minilib\Unicodes\source
I used in Wince project because WinCE not support my language locale
--
Zaher Dirkey
___
fpc-pascal maillist - fpc-pascal@lists.freepascal
On Tue, Aug 11, 2009 at 12:43 PM, Marco van de Voort wrote:
> The lowest level is unit charset in the rtl, Unix style iconv is supported
> by package iconvenc.
The charset unit doesn't look complete or usable.
> No. Non *nix OSes have their own api. There is an abstraction,
> lconvencoding, but t
In our previous episode, Zaher Dirkey said:
> There is unit in Lazarus
> lcl\LConvEncoding.pas
> is that you mean?
yes.
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
I just needed UTF-8 to Latin 1 ISO but I can't find a cross-platform
solution. Remembering that UTF8ToAnsi doesn't solve the problem
because it converts to the system encoding and not Latin 1 ISO.
A simpe option might be:
wides:=UTF8Decode(utf8s);
widestringmanager.Wide2AnsiMoveProc:=...@
There is unit in Lazarus
lcl\LConvEncoding.pas
is that you mean?
--
Zaher Dirkey
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
In our previous episode, Felipe Monteiro de Carvalho said:
>
> Does anyone know if there is a set of encoding conversion routines? If
> there isn't, how should we add one? New directory in fpc/packages?
Cross platform, with a library?
The lowest level is unit charset in the rtl, Unix style iconv