--- bm-update.orig Sat Jul 8 17:32:51 2006 +++ bm-update Sun Jul 23 11:39:38 2006 @@ -10,9 +10,8 @@ exit fi -CONVTEST=`LANG=C iconv -f UTF-8 -t UTF-8 ~/.dillo/bm.txt -o ~/.dillo/bm.txt.update 2>&1| sed -e "s/.*illegal.*/illegal/g"` +CONVTEST=`LANG=C iconv -f UTF-8 -t UTF-8 ~/.dillo/bm.txt 2>&1| sed -e "s/.*illegal.*/illegal/g"` -rm -f ~/.dillo/bm.txt.update if test "x$CONVTEST" = "xillegal"; then echo "bookmark needs update." else @@ -22,7 +21,7 @@ CHARSET=`locale | grep "LC_CTYPE.*\." | sed -e "s/^.*\.//g" -e "s/\"//g"` if test "x$CHARSET" = "x"; then - CHARSET="iso88591" + CHARSET="iso-8859-1" fi case $CHARSET in