Page 1 of 1

VLC couldn't open a file if its path includes Cyrilic symbol

Posted: 03 Jul 2010 16:37
by heaven87
It's already described here — viewtopic.php?f=34&t=76148
I've noticed that when I build VLC from source code, taken from here — http://download.videolan.org/pub/videolan/vlc/1.1.0/, all works fine. The problem occurs only when I build VLC from git, but only one difference I noticed is that source from tarbal is already bootstrapped, but all the rest configuration and dependencies options are the same.
I am confused and do not know what I am doing wrong. Please, help me :?

Re: VLC couldn't open a file if its path includes Cyrilic sy

Posted: 04 Jul 2010 12:46
by heaven87
Drag and drop doesn't work too.

Re: VLC couldn't open a file if its path includes Cyrilic sy

Posted: 05 Jul 2010 00:23
by Jean-Baptiste Kempf
1.1.0-git or 1.2.0-git?

Re: VLC couldn't open a file if its path includes Cyrilic sy

Posted: 05 Jul 2010 08:58
by heaven87
1.1.0-git or 1.2.0-git?
1.2.0-git Twoflower (revision 1.1.0-pre1-1132-gc38d7ca)

Re: VLC couldn't open a file if its path includes Cyrilic sy

Posted: 06 Jul 2010 07:41
by Jean-Baptiste Kempf
Then this might be a 1.2.0 regression

Re: VLC couldn't open a file if its path includes Cyrilic sy

Posted: 06 Jul 2010 08:10
by heaven87
Then this might be a 1.2.0 regression
I had this problem with 1.1.0 too.

Re: VLC couldn't open a file if its path includes Cyrilic sy

Posted: 06 Jul 2010 08:19
by Jean-Baptiste Kempf
But you said that the downloaded 1.1.0 works?

Re: VLC couldn't open a file if its path includes Cyrilic sy

Posted: 06 Jul 2010 09:00
by heaven87
I had this problem with 1.1.0-git too, but compiled from here http://download.videolan.org/pub/videolan/vlc/1.1.0/ works well. And the problem hasn't disappeared with 1.2.0-git

This problem is already existed even before the 1.1.0 release. This is why I surprised, because you make the 1.1.0 tarball from source code, with whom I had the problem, but when I build VLC from this tarball — I do not have any problems. But what is the difference? The only one difference I know is that the source in tarball is already bootstrapped. Can this be a reason?

Re: VLC couldn't open a file if its path includes Cyrilic sy

Posted: 06 Jul 2010 09:21
by heaven87
Just now I again rebuilt VLC from tarball and from git. The first works fine but the second does not.

Re: VLC couldn't open a file if its path includes Cyrilic sy

Posted: 06 Jul 2010 15:42
by Jean-Baptiste Kempf
Try to checkout the tag.

Re: VLC couldn't open a file if its path includes Cyrilic sy

Posted: 06 Jul 2010 16:31
by heaven87
Is it correct: git archive --format=tar --remote=/var/abs/local/yaourtbuild/vlc-git/src/vlc 1.1.0-pre1 > vlc.tar?

Re: VLC couldn't open a file if its path includes Cyrilic sy

Posted: 06 Jul 2010 17:42
by Rémi Denis-Courmont
I guess your system lacks the gettext development files, which causes the iconv autodetection to fail.

Re: VLC couldn't open a file if its path includes Cyrilic sy

Posted: 06 Jul 2010 19:43
by heaven87
With the 1.1.0-pre1 tag all works fine.

Re: VLC couldn't open a file if its path includes Cyrilic sy

Posted: 07 Jul 2010 08:38
by heaven87
I guess your system lacks the gettext development files, which causes the iconv autodetection to fail.
Why then iconv can detect encoding and a file opens, when VLC isn't running yet? I've get the error message only when VLC is already running and I click on a file in dolphin.

Re: VLC couldn't open a file if its path includes Cyrilic sy

Posted: 07 Jul 2010 18:01
by Rémi Denis-Courmont
The autoconf M4 macros for iconv is missing that's all.

Re: VLC couldn't open a file if its path includes Cyrilic sy

Posted: 07 Jul 2010 18:30
by heaven87
The autoconf M4 macros for iconv is missing that's all.
Where did it go? :)

Re: VLC couldn't open a file if its path includes Cyrilic sy

Posted: 12 Jul 2010 08:24
by heaven87
Hi. This issue makes VLC very uncomfortable, have you any plans to fix it?

Re: VLC couldn't open a file if its path includes Cyrilic sy

Posted: 12 Jul 2010 17:32
by Rémi Denis-Courmont
How exactly are we supposed to fix missing packages on your computer?

Re: VLC couldn't open a file if its path includes Cyrilic sy

Posted: 12 Jul 2010 18:51
by heaven87
How exactly are we supposed to fix missing packages on your computer?
Oops, sorry, I'm misunderstood. If I'm not mistaken, you use Arch Linux too? Can you please tell me which a package I've missed?

Re: VLC couldn't open a file if its path includes Cyrilic sy

Posted: 12 Jul 2010 19:05
by Rémi Denis-Courmont
gettext devel, whatever it's called.

Re: VLC couldn't open a file if its path includes Cyrilic sy

Posted: 15 Jul 2010 12:47
by heaven87
Hi, I can't find anything, that I could miss — http://img717.imageshack.us/img717/8826/159b.png. Also right now I build the 1.1.0-pre1 tag and all works fine. What's changed?