[sword-devel] Output text encoding for Windows MOS2IMP ?
d.haslam at ukonline.co.uk
Tue Oct 6 01:20:51 MST 2009
Thanks Greg (& Chris),
I have no difficulty in converting the IMP output file encoding to UTF-8.
As a Windows user, I generally use
http://www.editpadpro.com/editpadlite.html EditPad Lite to perform this
It's just that I was surprised that the internal representation of some
modules is not UTF-8.
Greg Hellings wrote:
> On Mon, Oct 5, 2009 at 2:16 PM, Chris Little <chrislit at crosswire.org>
>> mod2imp was designed and intended to output the contents of a module as
>> is represented within that module, without any processing, irrespective
>> markup, encoding, or OS.
> To that effect, I have found other utilities to be very helpful in format
> conversion, It probably won't help with imp format, but when an OSIS
> document is in an encoding other than UTF-8 I used the xsltproc utility
> wrote the simplest of XSLT sheets that just copied the contents across to
> output and asked it to output UTF-8 encoding.
> I'm fairly sure you can find other utilities to do that with plain text
> files if you need them. Simply piping the output of mod2imp through one
> those would probably accomplish your goals.
>> David Haslam wrote:
>>> Is there a reason why the text encoding for the output of the Sword
>>> Windows utility MOD2IMP is not Unicode?
>>> I just tried
>>> mod2imp FreCrl >FreCrl.imp.txt
>>> and found the text file was encoded as Windows 1252: Western European.
>>> It would be much more sensible for the output to be encoded as UTF-8.
>>> btw. Does the *nix version behave the same way?
>>> David Haslam
>> sword-devel mailing list: sword-devel at crosswire.org
>> Instructions to unsubscribe/change your settings at above page
> sword-devel mailing list: sword-devel at crosswire.org
> Instructions to unsubscribe/change your settings at above page
View this message in context: http://www.nabble.com/Output-text-encoding-for-Windows-MOD2IMP---tp25751292p25764610.html
Sent from the SWORD Dev mailing list archive at Nabble.com.
More information about the sword-devel