summaryrefslogtreecommitdiff
path: root/common_codez
blob: 22c3b6e38d2c0f4af87b57c681574b6d91cba1a1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#! /bin/bash

function replace_wierd_html_chars
{
    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
}