[sword-devel] BOM and Osis2Mod

DM Smith dmsmith555 at yahoo.com
Tue Jan 6 09:33:40 MST 2009


Wolfgang,
I guess I wasn't clear enough. I think all detected errors should  
produce a message. And what I didn't say, but meant to, was that I'll  
output an error message for an unsupported BOM.

In Him,
	DM

On Jan 6, 2009, at 11:15 AM, Wolfgang Schultz wrote:

> Hello,
>
>
> here we see the difference between user centric programming and
> ideological influence on how to make programms :))
>
> On my opinion  i would  change osis2mod ( and also vpl2mod) so that it
> isn't  an obstacle for using in any situation.... BOM or not BOM.
>
> However  osis2mod should print out an error message at least if there
> is a BOM, now it gives no meaningful hint if it fails in this case..
>
> wolfgang
>
>
>
>
>
>
>
>
> 2009/1/6 DM Smith <dmsmith555 at yahoo.com>:
>> Ian Wagner wrote:
>>>
>>> See http://unicode.org/faq/utf_bom.html#bom1. It indicates the  
>>> encoding
>>> that the file is written in, be it big-endian (most siginificant  
>>> byte to
>>> least significant byte-- the way that we write, and the way the  
>>> PowerPC
>>> stores numbers in memory), or little-endian (the reverse and the  
>>> way intel
>>> processors store numbers in memory).
>>
>> Ian,
>> Thanks for the link. On the same page, it states that UTF-8 only  
>> has a
>> single ordering of bytes. There is only one BOM appropriate for it:  
>> EF BB
>> BF. As osis2mod only works for UTF-8 and cp1252 (Win Latin 1), the  
>> presence
>> of it would be noise. If another BOM is present, I think osis2mod  
>> should
>> fail.
>> In Him,
>>  DM
>>>
>>> Ian
>>> ---------------
>>> Dr!nk m0r3 J0lt ^_^
>>>
>>> On Jan 6, 2009, at 10:18 AM, DM Smith wrote:
>>>
>>>> Wolfgang Schultz wrote:
>>>>>
>>>>> Hello,
>>>>>
>>>>> if the utf-8 OSIS file has a BOM  ( Byte Order Mark some editors
>>>>> insert one) Osis2Mod will fail to make a sword-modul, it were  
>>>>> nice if
>>>>> this would be fixed, because it will cause lot of problems in  
>>>>> further
>>>>> steps :(
>>>>>
>>>> What does a byte order mark mean for a UTF-8 file? Is it just  
>>>> noise?
>>>>
>>>> If it is just noise, the change is easy and I'll make it.
>>>>
>>>> In Christ's Service,
>>>> DM
>>
>>
>>
>> _______________________________________________
>> sword-devel mailing list: sword-devel at crosswire.org
>> http://www.crosswire.org/mailman/listinfo/sword-devel
>> Instructions to unsubscribe/change your settings at above page
>>
>
> _______________________________________________
> sword-devel mailing list: sword-devel at crosswire.org
> http://www.crosswire.org/mailman/listinfo/sword-devel
> Instructions to unsubscribe/change your settings at above page





More information about the sword-devel mailing list