I have a proc that is supposed to get the accents off its input strings, like this example proc : proc unacc {str} {return [string map {á a} $str]}
Now let's say I put an 'á' into a file, and then use unacc [gets ...] the proc will convert it to 'a' correctly. But if I try to use it with binds, or through DCC (using .tcl ...) it just returns an 'á' like the 'á' in the string map function didn't the 'á' I just typed in.
Does anybody have an idea how I could solve this problem ? (right now I'm writing everything into temporary files before processing, but this just does not seem to be the right solution

Thanks,
Zed.