[vlc-devel] unicode question

howard howard at starvedia.com
Wed Aug 29 18:32:10 CEST 2007


Hi all,
	As I know, the hex value for Unicode code point U+6211 is A7DA. Is
this correct?
	So if I declare a char array like this, char utf8_value[4] = { 0xa7,
0xda, 0, 0 } ;, and pass it to libvlc.dll, this is gonna work, right?
	But I got nothing! Please point it out if anything above is wrong.
	Thanks for the help.

	Best Regards,

	Howard.

-----Original Message-----
From: vlc-devel-bounces at videolan.org [mailto:vlc-devel-bounces at videolan.org]
On Behalf Of howard
Sent: Wednesday, August 29, 2007 6:11 PM
To: 'Mailing list for VLC media player developers'
Subject: Re: [vlc-devel] unicode question

Hi,
	I do convert the file path to UTF8 before passing to libvlc.
	Take another example, I wanna show something like "\u6211", which
means "I" in Chinese, on the screen as OSD message. It doesn't show it.
	Or if anyone can show me a sample code for this. That would be
great.
	By the way, I'm using version 0.8.6c.
	Thanks again!

	Best Regards,

	Howard.

-----Original Message-----
From: vlc-devel-bounces at videolan.org [mailto:vlc-devel-bounces at videolan.org]
On Behalf Of Damien Fouilleul
Sent: Wednesday, August 29, 2007 4:34 PM
To: Mailing list for VLC media player developers
Subject: Re: [vlc-devel] unicode question

convert all file paths to UTF8 before passing them to VLC

howard wrote:
>
> *Hi all,*
>
> * I'm using libvlc.dll in my project.*
>
> * Recently I have faced a problem about Unicode. If the file name or 
> the file path of the video has Chinese characters, then it can not be 
> played.*
>
> * It works fine with English. So please give me some hints about this.*
>
> * Thank you so much!*
>
> * *
>
> * Best Regards,*
>
> * *
>
> * Howard.*
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> http://mailman.videolan.org/listinfo/vlc-devel
>   


_______________________________________________
vlc-devel mailing list
To unsubscribe or modify your subscription options:
http://mailman.videolan.org/listinfo/vlc-devel


_______________________________________________
vlc-devel mailing list
To unsubscribe or modify your subscription options:
http://mailman.videolan.org/listinfo/vlc-devel





More information about the vlc-devel mailing list