Actually it's still not ready yet.

There is CP_ACP parameter used (not just here BTW, but in 
all Harbour WideCharToMultiByte/MultiByteToWideChar calls), 
and this may not match with user set _SET_CODEPAGE.

Would it be a good solution to convert first to UTF8 and 
pass CP_UTF8 to these functions?

Brgds,
Viktor

On 2009 Dec 14, at 00:07, vszak...@users.sourceforge.net wrote:

> Revision: 13238
>          
> http://harbour-project.svn.sourceforge.net/harbour-project/?rev=13238&view=rev
> Author:   vszakats
> Date:     2009-12-13 23:07:28 +0000 (Sun, 13 Dec 2009)
> 
> Log Message:
> -----------
> 2009-12-14 00:04 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
>  * contrib/hbwin/win_misc.c
>    ! Fixed WIN_ANSITOWIDE() and WIN_WIDETOANSI() to return string with
>      proper length in all cases.
>      Peer-review me pls.
> 
> Modified Paths:
> --------------
>    trunk/harbour/ChangeLog
>    trunk/harbour/contrib/hbwin/win_misc.c
> 
> 
> This was sent by the SourceForge.net collaborative development platform, the 
> world's largest Open Source development site.
> _______________________________________________
> Harbour mailing list (attachment size limit: 40KB)
> Harbour@harbour-project.org
> http://lists.harbour-project.org/mailman/listinfo/harbour

_______________________________________________
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to