summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoseph Graham <joseph@fibreglass.tunachunks>2013-10-14 21:09:20 +0100
committerJoseph Graham <joseph@fibreglass.tunachunks>2013-10-14 21:09:20 +0100
commit4aa03b52f82e5d1f495351c1dd07e30988f902b7 (patch)
tree6dc1dc0ba6bdfa233b7d439acb7505c8c099c15a
parentc0e43f9e09dd248f6b968a1aa249a8cfa772176f (diff)
The new recoding code was not working so well
-rw-r--r--common_codez12
1 files changed, 6 insertions, 6 deletions
diff --git a/common_codez b/common_codez
index b4450ac..22c3b6e 100644
--- a/common_codez
+++ b/common_codez
@@ -2,13 +2,13 @@
function replace_wierd_html_chars
{
- #w3m -dump -T text/html -cols 9999
+ w3m -dump -T text/html -cols 9999
# Let's see if this new code works better. Try CP1252 encoding and if it's not possible
# utf-8
- while read input
- do
- recode html..CP1252 2>/dev/null <<< "${input}" ||
- recode html..utf-8 2>/dev/null <<< "${input}"
- done
+# while read input
+# do
+# recode html..CP1252 2>/dev/null <<< "${input}" ||
+# recode html..utf-8 2>/dev/null <<< "${input}"
+# done
}