[yunqa.de] Re: Any DiConverters example ?

  • From: Delphi Inspiration <delphi@xxxxxxxx>
  • To: yunqa@xxxxxxxxxxxxx
  • Date: Wed, 18 Feb 2009 13:05:44 +0100

Hello Max Terentiev,

>Can you post any real example of using DiConverters ?
>
>I have some string in
>
>MyString:WideString;
>
>How to encode MyString to any encoding and
>decode some encoded string to MyString using
>
>SomeEncoding_wctomb
>and
>SomeEncoding_mbtowc
>
>?

I do not have such examples, as I use DIConverters through my DIUnicode package 
exclusively. You can link DIUnicode against DIConverters (see section in the 
help file for details) and use all the 130 character sets and encodings 
conveniently within the TDIUnicodeReader and TDIUnicodeWriter classes.

>I was try but always get AV on function call.

The instructions on the DIConverters web page are known to be correct and 
sufficient to build your conversion loops. You are welcome to share your code 
on the DIConverters Wiki page at:

  http://www.yunqa.de/delphi/doku.php/wiki/converters/index

>Also, it's possible to use DiConverters under BCB ?
>I have linker error "unresolved external" if try to use
>any function from DiConverters.

I have no experience with DIConverters under C++ Builder, but maybe someone 
else can post his/her experience?

Ralf 

_______________________________________________
Delphi Inspiration mailing list
yunqa@xxxxxxxxxxxxx
//www.freelists.org/list/yunqa



Other related posts: