Re: [vdr] New UTF-8 patch is now available.
On Sun, Jan 07, 2007 at 10:47:08PM +0200, Marko Mäkelä wrote: > Do you have a script for translating the /video directory from latin1 > to utf8? I attach my script for this, also available from > http://www.iki.fi/~msmakela/software/misc/. There is another app for converting file names: http://freshmeat.net/projects/convmv/ -- Anssi Kolehmainen ___ vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
Re: [vdr] New UTF-8 patch is now available.
On Sun, Jan 07, 2007 at 10:47:08PM +0200, Marko Mäkelä wrote: > Do you have a script for translating the /video directory from latin1 > to utf8? I attach my script for this, also available from > http://www.iki.fi/~msmakela/software/misc/. Sorry, the script only works well when no directories need to be renamed. Something more advanced is needed, perhaps invoking GNU find -maxdepth in a loop. Marko ___ vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
Re: [vdr] New UTF-8 patch is now available.
On Sat, Jan 06, 2007 at 02:48:28PM +0100, Alexander Riedel wrote: > Hi! > > New UTF-8 patch is now available at www.free-x.de/utf8 > > Changelog: > > v.0.1.3 for vdr 1.4.4-3 > * Add workaround for buggy freetype libs 2.1.7 - 2.2.1 (segmentation > fault) Thank you! This applied cleanly on vdr 1.4.5, and unlike the previous version, this one works with the freetype libs in Debian unstable. Do you have a script for translating the /video directory from latin1 to utf8? I attach my script for this, also available from http://www.iki.fi/~msmakela/software/misc/. Am I right that the info.vdr files need to be translated as well? The attached script recodes the contents of all files named 00INDEX. I guess that you could replace 00INDEX with info.vdr in the script and be all set. I'll test that as soon as I can. One small suggestion: could you check for the availability of the fonts at startup? I initially only copied arialbd.ttf and arial.ttf, and got a crash later when courbd.ttf was not available. Marko #!/bin/sh set -eu LANG=C export LANG find . -name '*[-ÿ]*'\ |while read FILE do mv "$FILE" "`echo "$FILE"|recode latin1..utf8`" done find . -type f -name 00INDEX -print0|LANG=C xargs -0 grep -lE '[-ÿ]'\ |tr '\012' '\0'|xargs -0 recode latin1..utf8 ___ vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
Re: [vdr] New UTF-8 patch is now available.
On Sat, 2007-01-06 at 14:48 +0100, Alexander Riedel wrote: > Hi! > > New UTF-8 patch is now available at www.free-x.de/utf8 > > Changelog: > > v.0.1.3 for vdr 1.4.4-3 > * Add workaround for buggy freetype libs 2.1.7 - 2.2.1 (segmentation > fault) > > > Enjoy !!! Hi Alexander, Could you advice where I can find some HOWTO for patching? Regards, Vladimir ___ vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr