[sword-devel] Looking for vpl reference

Angel Candelaria linuxarecibo at gmail.com
Sat Jun 11 02:26:43 MST 2011


Again, thanks for the info.

I'd like to note that the vpl ready file that Mike sent me (with the
verse references - my original text did not have any) compiles
correctly with vpl2mod on Linux too.  Maybe the problem was the way
that my original text was enconded or something.  Mike, did you find
something wrong in the enconding of the text?

On Sat, Jun 11, 2011 at 4:08 AM, Peter von Kaehne <refdoc at gmx.net> wrote:
> uni2ascii is part of the ubuntu repos. It's sister utility ascii2uni comes along in the same package. On the wiki page linked to below is a shell script using it which will give you a character count of all characters used in a text. This can be useful to figure out weirdness.
>
> uconv is another useful utility. It is part of the ICU development package on ubuntu (libicu-dev). It can switch texts from all kinds of encodings into Unicode.
>
> Something worthwhile having, too, is flip. flip changes line end control characters from Windows to Unix and vice verse.  Again, it is in the Ubuntu repos.
>
> A lot of info is here:
>
> http://www.crosswire.org/wiki/DevTools:Modules#Prepare_the_Source_Text_for_Import
>
>
> Peter
>
>> Von: "Peter von Kaehne" <refdoc at gmx.net>
>> An: SWORD Developers\' Collaboration Forum <sword-devel at crosswire.org>
>> Betreff: Re: [sword-devel] Looking for vpl reference
>
>> Jonathan has given a clear explanation why the imp format is more useful.
>>
>> Bending the utilities by using old windows utilities on wine on Linux
>> seems to me bizarre and not something I think we should either promote or
>> document on the wiki as a valid way of working.
>>
>> If there is an issue with vpl2mod (which well may be, given that no one of
>> the CrossWire core module makers will use it with any regularity) then the
>> appropriate way forward is
>>
>> a) to document it in the bugs database
>> b) provide a clean sample text which causes the described behaviour
>> c) use working alternatives (imp) instead of creating some crutches
>>
>> Wrt cleaning up of odd texts - It is a good idea to look first into a text
>> with issues and check what weird characters are there in use (prior to
>> claiming that the Sword utilities do not work). I have not infrequently found
>> all kinds of control characters lying around in texts which gave me
>> difficulties. Some editors will show them, others not.
>>
>> uni2ascii is a good utility to transform _all_ characters into their
>> hexadecimal representation which then can get easily analysed for presence of
>> weirdness.
>>
>> Peter
>>
>>
>> -------- Original-Nachricht --------
>> > Datum: Fri, 10 Jun 2011 19:48:17 -0700 (PDT)
>> > Von: Mike Hart <just_mike_y at yahoo.com>
>> > An: SWORD Developers\' Collaboration Forum <sword-devel at crosswire.org>
>> > Betreff: Re: [sword-devel] Looking for vpl reference
>>
>> > FYI:
>> >
>> > I created the RVR2011 module via windows from Angel's file, in the way I
>> > do it (prepend the verse reference to each line.)  I see no missing
>> space
>> > characters
>> >  in BibleTime with the completed module.  It looks complete with the
>> > spaces.  I don't read Spanish, but I believe the encoding is the same
>> > without any changes.
>> > That is, the special characters in Gen 1-5 look similar to me in the
>> > book reader compared to what I see in jEdit with UTF8 encoding (the
>> coding
>> > the file came to me.)
>> >
>> > The module he sent me
>> > (verse numbers only leading each row) should compile without issue on
>> > windows. I just have some validation
>> > built into my process that I wanted to do.
>> >
>> > This reproduces what I discovered in 2008: The linux vpl2mod script only
>> > handles English alphanumeric characters well.. It chokes on quotation
>> marks
>> > for me.  The windows version is far more robust (no issues with
>> encoding
>> > or special characters that I know of.)
>> >
>> > Also, it is important to note that the windows version is now the
>> archaic
>> > windows version. When planning to use the windows version of VPL2MOD,
>> note
>> > it needs to run in win 3.11 through windows 98 or a Windows 95 or 98
>> > compatibility mode in XP. As far as I know, it won't run at all on
>> windows Vista
>> > (or Windows 7?)
>> >
>> > If I'm feeling energetic tomorrow, I might try to note this in the wiki
>> > somewhere.
>>
>> --
>> NEU: FreePhone - kostenlos mobil telefonieren!
>> Jetzt informieren: http://www.gmx.net/de/go/freephone
>>
>> _______________________________________________
>> 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
>
> --
> NEU: FreePhone - kostenlos mobil telefonieren!
> Jetzt informieren: http://www.gmx.net/de/go/freephone
>
> _______________________________________________
> 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