Strange letters in the resulting module

Discussion on theWord modules and other resources
krono2
Posts: 69
Joined: Sun Dec 21, 2014 6:37 pm

Strange letters in the resulting module

Post by krono2 »

Hi I tried to make a module Bible for my personal use, but save it and open it in theWord me some strange characters. The encoding to use is UTF-8 .... No I did wrong. What encoding recommend?

Image

He did not speak English translation google
User avatar
JG
Posts: 4604
Joined: Wed Jun 04, 2008 8:34 pm

Re: Strange letters in the resulting module

Post by JG »

The file must also have a BOM (Byte Order Marker) So this is a conversion you must do in your text editor. For example in Notepad++ it is this one.

2015-03-29 17 16 18.png
2015-03-29 17 16 18.png (16.25 KiB) Viewed 2837 times
Jon
the
Word 6 Bible Software
OS for testing; Windows 10
Beta Download ------Beta Setup Guide------On-line Manual------Tech doc's and Utilities------Copyright Factsheet
krono2
Posts: 69
Joined: Sun Dec 21, 2014 6:37 pm

Re: Strange letters in the resulting module

Post by krono2 »

That coding is better to work the UTF8 or ANSI?
What is most recommended?
User avatar
JG
Posts: 4604
Joined: Wed Jun 04, 2008 8:34 pm

Re: Strange letters in the resulting module

Post by JG »

utf-8 with BOM
Jon
the
Word 6 Bible Software
OS for testing; Windows 10
Beta Download ------Beta Setup Guide------On-line Manual------Tech doc's and Utilities------Copyright Factsheet
krono2
Posts: 69
Joined: Sun Dec 21, 2014 6:37 pm

Re: Strange letters in the resulting module

Post by krono2 »

Hello, Thanks for your reply.
I downloaded the file "TW3-bible-module-spec.doc"
I recommend using the ANSI

"5. The files can either be in ANSII or UTF8 encoding (for UTF8 files, a BOM is required at the beginning: most editors will add this automatically). For ANSII files, an attribute must be added to the end of the file (charset=n), in order to be properly recognized. In general, ANSII files are a bit faster to handle/search. If the Bible module contains a language that can be supported by a standard ANSII encoding, it’s use is encouraged."

What would be the advantages of using one or another encoding?
csterg
Site Admin
Posts: 8627
Joined: Tue Aug 29, 2006 3:09 pm
Location: Corfu, Greece
Contact:

Re: Strange letters in the resulting module

Post by csterg »

If using ansii (and the language you are working on is using a know charset), then you should be fine as long as you put the property charset=XXX at the bottom.
Ansii files are a bit faster to process, but this was mostly the case 10 years ago when CPUs are slower... nowadays it is prefferrable to work with UTF8.

Costas
krono2
Posts: 69
Joined: Sun Dec 21, 2014 6:37 pm

Re: Strange letters in the resulting module

Post by krono2 »

Ok muchas Gracias
Post Reply