[MPlayer-dev-eng] Drag&Drop v2

Kovriga, Gregory gregory.kovriga at intel.com
Mon Aug 12 06:36:28 CEST 2002


Indeed: Qt implementation has static members of related class:
uriToLocalFile() and localFileToUri() . If Qt applications use one of them
mplayer will have to use the other :)


-----Original Message-----
From: Arpi [mailto:arpi at thot.banki.hu]
Sent: Sunday, August 11, 2002 11:38 PM
To: mplayer-dev-eng at mplayerhq.hu
Subject: Re: Re: [MPlayer-dev-eng] Drag&Drop v2


Hi,

> > Hm, i think it oucld be UTF-8 or similar ...
> >
> > Functions to convert all kinds of Charsets are available through
libiconv
> > (GNU-lib used by gettext in internationalizations) ...
> 
> Ok, i see, but ... what the 'from' parameter for iconv is unicode or etc.

that %xx thing is not unicode. it's URL/URI coding.
unicode is 2byte or 4byte wide chars. utf8 is packed unicode, it looks like
binary shit if you look at it.

> And the 'to' parameter ? I reckon, this is system dependent ? Or not ?
what do you want to convert to. should be the native codepage of the
filesystem you're using... for example o" iand u" cannot be coded in single
byte, unless you use latin-2 or cp-852... it's and endless story...
i have no idea what to set as 'to' codepage, it depends on filesystem, maybe
locale too.


A'rpi / Astral & ESP-team

--
Developer of MPlayer, the Movie Player for Linux - http://www.MPlayerHQ.hu
_______________________________________________
MPlayer-dev-eng mailing list
MPlayer-dev-eng at mplayerhq.hu
http://mplayerhq.hu/mailman/listinfo/mplayer-dev-eng



More information about the MPlayer-dev-eng mailing list