02-06-2020, 04:25 PM
|
#295
|
Groupie
Posts: 199
Karma: 195502
Join Date: Jan 2018
Device: Cybook Orizon, PocketBook Touch HD
|
Try this.
How done: - Took Markismus last xdxf
- substituted xml entities with unicode characters with this script:
Code:
cat Nouveau\ Littre\ 2011\ \(from\ Bookeen\ by\ Penelope\)_reconstructed.xdxf |\
sed -e "s/ / /g" \
-e "s/'/'/g" \
-e "s/<[/]*f>//g" \
| perl -CS -pe 's/&#x([\dA-Fa-f]{3,4});/chr(hex($1))/eg' \
| perl -CS -pe 's/&#(\d{3,4});/chr($1)/eg' \
> N1.xdxf
- converted using DictionaryConverter-neu 171109, augmented with the locales found in this post (rather than using the converter Markismus used - for no reason, just ran into the others first).
Last edited by EastEriq; 02-06-2020 at 05:07 PM.
|
|
|