Forum OpenACS Q&A: Response to i18n woes on a very simple site
"Anyone know of a free tool that is good for reading/converting/writing file encodings?"
Does tclsh count? 😊
Something along the lines of:
set input [open $input_file]I've never worked with encodings, but it seems like Tcl would make a great language to write a simple command line utility in to do this...
set output [open $output_file]
fconfigure $input -encoding $input_encoding
fconfigure $output -encoding $output_encoding
puts $output [read $input]