M
Michael Lommel
I have about a thousand multipage documents which I need to convert from
US English and punctuation to UK English and punctuation. Before I start
on a ruby script (I'm just learning ruby) wanted to see if anyone knows
of existing tools to do this? I've also looked into a perl US->UK
conversion tool but doesn't seem to exist.
I'm starting with utf8 rtf documents which have printer's quotes (i.e.,
distinct left and right curly quotes) which were retained from an
original conversion from MS Word docs. For my documents, converting from
US to UK punctuation means double quotes become single quotes and some
single quotes become double (apostrophes are retained and single quotes
not inside double quotes would need to be retained); but in the
conversion I would like to retain distinct left and right quotation
marks.
I'm thinking that the end documents should have all print typography
(em-dashes, en-dashes, printer quotes) should be converted to character
entities.
If there is no existing script to do this (seems like a problem others
must have faced before) any thoughts on the right approach/tools/code
snippets?
Many thanks Rubyist...
US English and punctuation to UK English and punctuation. Before I start
on a ruby script (I'm just learning ruby) wanted to see if anyone knows
of existing tools to do this? I've also looked into a perl US->UK
conversion tool but doesn't seem to exist.
I'm starting with utf8 rtf documents which have printer's quotes (i.e.,
distinct left and right curly quotes) which were retained from an
original conversion from MS Word docs. For my documents, converting from
US to UK punctuation means double quotes become single quotes and some
single quotes become double (apostrophes are retained and single quotes
not inside double quotes would need to be retained); but in the
conversion I would like to retain distinct left and right quotation
marks.
I'm thinking that the end documents should have all print typography
(em-dashes, en-dashes, printer quotes) should be converted to character
entities.
If there is no existing script to do this (seems like a problem others
must have faced before) any thoughts on the right approach/tools/code
snippets?
Many thanks Rubyist...