[MPlayer-dev-eng] Re: [PATCH] print appropriate error when failing to open a file
Vladimir Mosgalin
mosgalin at VM10124.spb.edu
Thu Dec 15 19:29:00 CET 2005
Hi Reimar D?ffinger!
On 2005.12.15 at 14:37:44 +0100, Reimar D?ffinger wrote next:
> On Thu, Dec 15, 2005 at 01:14:49AM +0300, Vladimir Mosgalin wrote:
> > Yes it will. If used properly, of course. Well, using gettext is much
> > better solution (but AFAIK it won't work without setlocale anyway), but
> > "%ls" argument in printf will convert (wide character) string to correct
> > character encoding, determined automatically by LC_CTYPE.
>
> Just too bad that setting LC_CTYPE will cause crashes.
Though I wonder how one million different programs in the world use
setlocale, gettext and manage to work correctly if setting LC_CTYPE
causes crashes...
--
Vladimir
More information about the MPlayer-dev-eng
mailing list