Mercurial > hg > egg-tcls
comparison urllog.tcl @ 131:b04ecf8bfb15
urllog: Fix some entity translations.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Mon, 24 Sep 2012 18:41:59 +0300 |
parents | d981f51b39c2 |
children | 1a6752b1a16a |
comparison
equal
deleted
inserted
replaced
130:88ce9376f22d | 131:b04ecf8bfb15 |
---|---|
141 | 141 |
142 set urllog_tlds [split $urllog_tlds ","] | 142 set urllog_tlds [split $urllog_tlds ","] |
143 set urllog_httprep [split "\@|%40|{|%7B|}|%7D|\[|%5B|\]|%5D" "|"] | 143 set urllog_httprep [split "\@|%40|{|%7B|}|%7D|\[|%5B|\]|%5D" "|"] |
144 | 144 |
145 | 145 |
146 set urllog_ent_str "-|-|'|'|—|-|‏||—|-|–|--|‪||‬||" | 146 set urllog_ent_str "-|-|'|'|—|-|‏||—|-|–|--|‪||‬|" |
147 append urllog_ent_str "‎||å|å|Å|Å|é|é|:|:| | |" | 147 append urllog_ent_str "|‎||å|å|Å|Å|é|é|:|:| | " |
148 append urllog_ent_str "”|\"|“|\"|«|<<|»|>>|"|\"|" | 148 append urllog_ent_str "|”|\"|“|\"|«|<<|»|>>|"|\"|" |
149 append urllog_ent_str "ä|ä|ö|ö|Ä|Ä|Ö|Ö|&|&|<|<|>|>|" | 149 append urllog_ent_str "|ä|ä|ö|ö|Ä|Ä|Ö|Ö|&|&|<|<|>|>" |
150 append urllog_ent_str "ä|ä|å|ö|—|-|'|'|–|-|"|\"" | 150 append urllog_ent_str "|ä|ä|å|ö|—|-|'|'|–|-|"|\"" |
151 append urllog_ent_str "||-|’|'|ü|ü|Ü|Ü|•|*|€|€" | 151 append urllog_ent_str "|||-|’|'|ü|ü|Ü|Ü|•|*|€|€" |
152 append urllog_ent_str "|”|\"" | |
152 set urllog_html_ent [split [encoding convertfrom "utf-8" $urllog_ent_str] "|"] | 153 set urllog_html_ent [split [encoding convertfrom "utf-8" $urllog_ent_str] "|"] |
153 | 154 |
154 ### Require packages | 155 ### Require packages |
155 package require sqlite3 | 156 package require sqlite3 |
156 package require http | 157 package require http |