First, please use imp2vs. It's virtually the same as vpl2mod, but better
supported and will likely lead to fewer errors. To convert `vpl' to
`imp' format, change:
gen 1:1 <text of Gen 1:1>
to
$$$gen 1:1
<text of Gen 1:1>
In Perl-style regex syntax, this would be:
s/^(.+? \d+:\d:+) /\$\$\$$1\n/
Or with a single emacs regex replace (C-M-% by default), you can search on:
\(^.+? [0-9]+:[0-9]+\)
(note final space) and replace with
$$$\1^J
(C-Q C-J to produce the newline ^J)
Other editors may have other methods of doing regex replace.
Your chief problem, however, is that you have saved your file with an
editor that inserts the Unicode BOM. You may achieve the desired result
by deleting the first three characters of the file. (Or, doing so may
simply reveal the next error.)
--Chris
On 2/20/12 12:49 PM, hans wrote:
hello everyone
if i use vpl2mod to convert a ansi file there is no problem and my bible
is working as long as i am not using ü ä é ë í characters. I want to use ü
ä éë í characters so I converted my text file to utf-8 and used vpl2mod
again and the next failure appeared Error parsing key: gen 1:1
are there any suggestions ?
Thx Hans
--
View this message in context:
http://sword-dev.350566.n4.nabble.com/vpl2mod-tp4405061p4405061.html
Sent from the SWORD Dev mailing list archive at Nabble.com.
_______________________________________________
sword-devel mailing list: sword-devel@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@crosswire.org
http://www.crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page