wl2776 wrote
For example, my filename is "h:\\some\\path\\with\\cyrillic letters\\some_movie.mpg"
Cyrillic letters are in CP 1251 encoding.
What should be correct uri to set in playbin2?
I've done it. The code is
gchar *uri=g_filename_to_uri(g_convert(filename,-1,"UTF-8","CP1251",NULL,NULL,NULL),NULL,NULL);
if(uri){
g_object_set(G_OBJECT(m_player),"uri",uri,NULL);
g_free(uri);
}