From Unicode to paths

YAP x112358 at gmail.com
Wed May 2 01:01:32 PDT 2007


On 5/2/07, Vadim Zeitlin <vadim at wxwindows.org> wrote:
> On Tue, 1 May 2007 22:45:43 +0200 YAP <x112358 at gmail.com> wrote:
>
>  If you use wx functions you don't need to convert it at all.

I try to do that nowadays but sometimes this is not an alternative


>
>  The mb_str() method by default returns the representation of wide string
> in the current locale. Whether the function you call expects this or
> something else (like a string always encoded in UTF-8 independently of
> locale) is another question.
>

But for a path for instance where national characters certainly is
allowed is it in the general case (Windows/Linux) expected to be a
UTF-8 string or what?  I mean if I would like to build code that works
for paths in China also i this the only consideration I need to take?

Cheers
/Ake

-- 
 ---
Ake Hedman (YAP - Yet Another Programmer)
eurosource, Brattbergavagen 17, 820 50 LOS, Sweden
Phone: (46) 657 413430 Cellular: (46) 73 0533 146
Company home: http://www.dofscandinavia.com
Kryddor/Te/Kaffe: http://www.brattberg.com
Personal homepage: http://www.dofscandinavia.com/akhe
Automated home: http://www.vscp.org




More information about the wx-users mailing list