[Zinf-devel] character sets and filenames
Brought to you by:
kgk,
mayhemchaos
From: Kristian G. K. <kr...@cs...> - 2004-03-10 01:29:34
|
I've seen some problems when scanning filenames with foreign characters and I was hoping somebody would have some suggestions. Say, for example, I have /home/music/luiz_macedo-bossa_electromagn<E9>tica.m3u Currently this is failing to be encoded as a URL by the routine FilePathToURL which in turn is implemented with g_filename_to_uri >From reading the URI/URL documentation, I would expect this to be encoded as /home/music/luiz_macedo-bossa_electromagn%E9tica.m3u My initial reaction is that it's a bug in glib, but on the other hand the documentation says for g_filename_to_uri: filename : an absolute filename specified in the encoding used for filenames by the operating system. And the filename passed in is probably not considered legal (but actually works fine). Would someone like to clarify? -- email:kr...@cs... office:(805)893-4276 http://www.cs.ucsb.edu/~kris |