Forum OpenACS Q&A: Response to i18n woes on a very simple site
18: Response to i18n woes on a very simple site (response to 1)
Posted by Michael A. Cleverly on 10/11/02 07:12 AM
"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]