On 2010/11/05 16:53, Denis Krjuchkov <[email protected]> wrote:
> glib provides its own equivalents of file APIs like g_fopen(), g_stat() 
> and so on.

There is a problem with the GLib functions: there is no API to set the
file name charset.  We cannot implement the filesystem_charset
configuration variable this way.  That is why I havn't switched to
that.

According to the documentation, GLib uses the proprietary variable
G_FILENAME_ENCODING to figure out the encoding on Unix.

Second big problem (not related to GLib): as soon as we pass a file
name to a decoder library, we're left with whatever that library is
doing internally.

What the hell did the Microsoft engineers smoke when they decided to
move their whole OS to wide character strings?  This breaks
compatibility with everything.

Max

------------------------------------------------------------------------------
The Next 800 Companies to Lead America's Growth: New Video Whitepaper
David G. Thomson, author of the best-selling book "Blueprint to a 
Billion" shares his insights and actions to help propel your 
business during the next growth cycle. Listen Now!
http://p.sf.net/sfu/SAP-dev2dev
_______________________________________________
Musicpd-dev-team mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/musicpd-dev-team

Reply via email to