[sword-devel] new module releases

Chris Little chrislit at crosswire.org
Wed Jun 11 02:05:58 MST 2008



Daniel Owens wrote:
> Chris,
> 
> Thanks for getting the SFM to OSIS wiki page going. I did try 
> usfm2osis.pl, and it messed up the encoding (it was utf8, but now I 
> don't know what it is).

Yeah, I need to get rid of the uconv call from the script. I'll probably 
add a new argument for encoding so that it can be selected. (What you 
probably are seeing is utf-8 interpreted as cp1252 and then re-encoded 
as utf-8.)

> For the ssf file, I wondered if you could 
> clarify something. Under the <BooksPresent> element, what would a full 
> 66 books look like? This is what is on the wiki:
> 
>     <BooksPresent>111111111111111111111111111111111111111111111111111111111111111111000000000000000000000000000000000</BooksPresent>
> 
> I counted 66 1's and 33 0's. If I had to guess, the 66 1's signal that 
> the first 66 canonical books are there and the 0's signal the absence of 
> something else (deuterocanonical books?), but I wondered if you could 
> confirm that.

I don't really know what the last 33 0's are, but the first 39 1's are 
the OT and the next 27 are the NT. I'm pretty sure I have a list of the 
others somewhere, if it's important, but Sword can't recognize 
deuterocanonicals in OSIS anyway.

--Chris





More information about the sword-devel mailing list