Forum OpenACS Q&A: Re: Help on searching static pages with foreign characters

Collapse
Posted by Jeff Davis on
Vadim, I was not talking about numeric entities when refering to the encoding problem. It is rather than something like:
regsub -all {é} $html {\é} html
requires that the .tcl file be read as iso-8859-1 when the function is defined for it to work correctly. It is better to do
regsub "\x00e9" $html {\é} html
since it is not then sensitive to the encoding used when parsing the .tcl files.