Am 19.04.2011 23:00, schrieb Dan Fandrich:
On Tue, Apr 19, 2011 at 08:56:17PM +0200, Guenter wrote:
Oh, and do you know some public accessable addresses which can be
used for testing?

greets, Gün

Here are some fun ones: http://☺.com, http://Ω.com  even
http://www.günther.de
thanks a bunch Dan! :-)
As usual testing these on Linux with an IDN-aware curl did work fine (and even a C&P on Win32 from my mailer and insert in PuTTY worked and gave me the correct unicode!), but on Windows testing this seems not as simple :-( 1st I had to mess around with getting a cmd.exe with unicode support, but after some googling I think I've managed this, and on WXP a batch containing this seems to do the trick:
@%ComSpec% /f:on /d /u /k "chcp 65001 && title UTF-8 Console"
at least I could then also C&P to this console, and when setting the font to unicode-aware Lucida-Console then your samples display correctly; but sadly to say neither curl with libidn nor the idn.exe from libidn work correctly ... and my curl MinGW build with native IDN just seems to do nothing (looks like a silent crash) ..... so seems I have to do some further testing on that, write a test sample which tests the APIs standalone, and then check if that works with MinGW at all, or at least when compiled with MSVC ...
and perhaps also do a test on a Windows7 box ...

if anybody else has some hints, gets something working, or can confirm that a curl build with either libidn, or native idn works, please speak up!

thanks, Gün.



-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html

Reply via email to