Thursday, June 7, 2007

Codepage fun

Imagine a big organization, with a complex IT-infrastructure, great
financial flows, etc. That's where I am work.

Yesterday's we've got an update of one-of-many software products for
one of those obligatory reportings. After applying this (required)
update a problem occurs: files created by this software had incorrect
encoding! Users were panicking, tech.support was trying to explain an
'average user' how to change file encoding (from windows oem to ansi or
backwards). That was not so fun.

Some ancient programmers were almost ready to write a one-button
solution in delphi, until I offered them to just use a suitable tool --
and demonstrated win32 port of GNU iconv utility. Three-liner-bat-file
frontend for iconv saves a lot of man-hours. :-)

Finally, I was really surprised, that noone knew about such tool. Seems
like I'm the only who have that unix-based experience (where tools are
small and effecient).

No comments: