On 2013/01/15 18:21, Denis Krjuchkov <de...@crazydev.net> wrote:
> I've proposed this feature some years ago.
> Finally got some passion to implement it.
> 
> Here is the short story:
> 
> Windows supports Unicode via UTF-16 (wchar_t),
> MPD handles file names as char* strings.

What is really the problem you're trying to solve?  I mean,
internally, MPD does not assume path strings are UTF-8.  MPD assumes
they are in the native filesystem character set, and each time a
file name gets copied over the wire, it is converted to UTF-8 (because
the protocol is defined to be UTF-8).

Is the problem that the "native 8 bit charset" is not capable of
representing all possible wchar_t file names?  If that's the case,
then I guess we should be using TCHAR.

------------------------------------------------------------------------------
Master SQL Server Development, Administration, T-SQL, SSAS, SSIS, SSRS
and more. Get SQL Server skills now (including 2012) with LearnDevNow -
200+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
SALE $99.99 this month only - learn more at:
http://p.sf.net/sfu/learnmore_122512
_______________________________________________
Musicpd-dev-team mailing list
Musicpd-dev-team@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/musicpd-dev-team

Reply via email to