[mythtv-users] Two TV cards?
HoytDuff
hoyt at cavtel.net
Mon Feb 17 19:29:25 UTC 2003
On Fri, Feb 14, 2003 at 06:10:32PM -0800, Declan Shanaghy wrote:
> I just discovered this libexpat problem you mention.
> In the docs it says to change /etc/sysconfig/i18n
> to state LANG="en_US"
>
> I did this and it doesnt stop all the UTF errors i'm
> getting?!?! Is there something else i must do?
>
> On the xmltv site it states:
>
> The Date::Manip shipped with Red Hat 8.0 (version 5.40)
> exhibits problems with utf-8 locales. Until this is fixed
> utf-8 users must prepend the calls to xmltv executables
> with "LANG=C ".
>
> Is this a different issue?
I wouldn't recommend throwing out UTF-8 just for a buglet in perl (unless you
know you don't need Unicode at all, not now and not later).
Fix it instead on a case by case basis by temporarily disabling the
locale. You can do this under sh-like shells (e.g. bash) with
LANG=C LC_ALL=C <mycommand>
and under csh-like shells (csh, tcsh) with
env LANG=C LC_ALL=C <mycommand>
If you are lazy do the following:
mv /path/to/command /path/to/command_bin
cat > /path/to/command <<EOF
#! /bin/sh
LANG=C; export LANG
LC_ALL=C; export LC_ALL
$0_bin "$@"
EOF
chown 0:0 /path/to/command_bin
chmod +x /path/to/command_bin
--
Axel.Thimm at physik.fu-berlin.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20030215/6a66e509/attachment-0001.sig>
More information about the mythtv-users
mailing list