Problem in discover_uri with tone at greek words

Χρήστος Τριανταφύλλης christriant1995 at gmail.com
Thu Mar 8 10:31:59 PST 2012


Hello,

i have this line

  info = newitem.discover_uri(("file://" + path).encode('utf-8'))

and with the .encode() it works with everything i enter on path variable
but when
the path variable contains a letter with a tone in greek , for example
"/home/chris/Μουσική"
the tone is the ' above the letter "η" at the end of the string in our
current example, i get this error

  info = newitem.discover_uri(("file://" + path).encode('utf-8'))
  glib.GError: Δεν βρέθηκε ο πόρος.

the "Δεν βρέθηκε ο πόρος." can be translated to "the source hasn't been
found", something like that :P

do you have any idea how to solve this?

thanks in advance!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20120308/b602a154/attachment.html>


More information about the gstreamer-devel mailing list