francesinha wrote:1) Do the line breaks need to be Windows-like ? (I'm running XP, but my text editor says the file is saved with UNIX line breaks, not sure why)
2) Does the encoding have to be something in particular ? (my default seems to be "Windows 1252")
3) Is this what should be at the beginning of the file ?
1) No, line breaks can be anything.
2)You must choose encoding: UTF-8. If you are using Windows, I think the BOM gets added automatically. So, your dictionary should work with goldendict. If it doesn't, well, I'm not a regular windows user, so I don't know any more professional ways to do this, but here are some suggestions:
The easy way (which will take more space in your hard disk) is to use UTF-16 encoding, and do nothing else.
One free text editor that I have used (
geany includes an option to add the unicode BOM (Document->Write/Add unicode BOM). Maybe your editor has something like that, or maybe you'd like to download geany...
3)No, it should look normal, i.e.:
- Code: Select all
#NAME "Wikipedia interlanguage links English-French"
#INDEX_LANGUAGE "English"
#CONTENTS_LANGUAGE "French"
The BOM is invisible. Like a paragraph mark, it doesn't take any space in your document.