Letter problem with UTF-8 or something else

15 replies [Last post]
avaloncraven
avaloncraven's picture
User offline. Last seen 1 year 45 weeks ago. Offline
Joined: 03/02/2010

I do have strange stiuation.Since i figured out make BeST work at least, i am able to create Bible Modules.But now i am facing another problem based on language.

I prepared my text file acording to insturactions here. So it is like this

Genesis 1:1 BAŞLANGIÇTA Allah gökleri ve yeri yarattı.
Genesis 1:2 Ve yer ıssız ve boştu; ve enginin yüzü üzerinde karanlık vardı; ve Allahın Ruhu suların yüzü üzerinde hareket ediyordu.
Genesis 1:3 Ve Allah dedi: Işık olsun; ve ışık oldu.

I am not sure if you are able to see it in your computer, but we have a latter in turkish just look like "i" but without dot at the top, like this if you can se "ı".
Also a letter which look like "g" but there is a line at the top, look like "ğ" this.

We have a few more letters which is not exist in english ABC, but i have no problem with them.But this two are not show correctly, instead of their english versions are shows like "i,g" instead of "ı,ğ".

But before converting, in preview screen they all correct, no problem until i open it in e-sword.
There is another version of bible in e-sword on my language, so this letters shows correctly in that version.
But i am creating a module for older translation.

I ll be glad for any suggestion about how to fix that problem.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
avaloncraven
avaloncraven's picture
User offline. Last seen 1 year 45 weeks ago. Offline
Joined: 03/02/2010
Re: Letter problem with UTF-8 or something else

I really wonder if PBeST will solve this problem? because it really strange, i tried all other formatting options, ansi, all unicodes, iso...nope, same result. But strange thins is, same letters show where they are capitals and also in preview step, all text is crystal clear, no problem at all.But when i see end results inside of e-sword i can not see my letters, they have been replaced with closest english letter.

It happens in bible books, devotions, prayer list and all other modules.
I open exist Turkish bible in sqlittle browser, and i see it set character encoding UTF-16Bl, and i have no idea how i can set mine like that or will it solve my problem.Any idea is wort to try so please throw some ideas here.

DSaw
DSaw's picture
User offline. Last seen 38 weeks 4 days ago. Offline
Joined: 02/26/2009
Re: Letter problem with UTF-8 or something else

avaloncraven
are You familiar with Unicode characters number equivalents
the font your using should have Unicode numbers for characters
true type exlporer will show you unicode character number equivalents for your font
 
also you use a sqlite browser you can open a bible with that language and see what Unicode number was used for that character
 
NOTE there is a draw back to using Unicode numbers to display characters they will not allow searching within e-sword
 
David

The same thing said a different way sparks the understanding

David

http://usermodulesforesword.freeforums.org/portal.php

avaloncraven
avaloncraven's picture
User offline. Last seen 1 year 45 weeks ago. Offline
Joined: 03/02/2010
Re: Letter problem with UTF-8 or something else

Hello David, thanks for response.

I am not very familiar with unicode characters.I am simply "double click" computer user.But i need to make that bibles, so ll learn even C++ even if it is necessery (hope not :) )

With a sqlite browser i only manage to be able to see table names, not actual data, meaning, i see a field named scripture but i cant see any scripture, only says Blob text.I could not find where is that blob text stored and how can iread it.

Also, problem is in Turkish ABC, there 6 characters which is not exist in english ABC but only 2 of them cousing me problem.
Also when BeST shows you preview of your file, just before converting(place where you choose Unicode or whatever)everything looks ok.Until i see module inside e-sword.

I tried to import zefania files, but as end result nothing shows up.so i only manage to create bible from txt file, but in that i have this character problem.

so, i dont know how to go forward from this point.

DSaw
DSaw's picture
User offline. Last seen 38 weeks 4 days ago. Offline
Joined: 02/26/2009
Re: Letter problem with UTF-8 or something else

do a web search for true type explorer this program will show the number needed to enter for your charcters number , it should be preceded by \ and remove the plus from the number
 
then in txt replace the character with the number
 
open other bibles that do not have blob encrytion and notice how there unicde characters are done
* ğ - \u011f
* Ğ - \u011e
* ı - \u0131
* İ - \u0130
* ö - \u00f6
* Ö - \u00d6
* ü - \u00fc
* Ü - \u00dc
* ş - \u015f
* Ş - \u015e
* ç - \u00e7
* Ç - \u00c7
 
in txt file (I WILL USE ENGLISH)     for good with g as special character in txt would be \u011food in e-Sword SHOULD come out ğood

The same thing said a different way sparks the understanding

David

http://usermodulesforesword.freeforums.org/portal.php

DSaw
DSaw's picture
User offline. Last seen 38 weeks 4 days ago. Offline
Joined: 02/26/2009
Re: Letter problem with UTF-8 or something else

double post sorry

The same thing said a different way sparks the understanding

David

http://usermodulesforesword.freeforums.org/portal.php

avaloncraven
avaloncraven's picture
User offline. Last seen 1 year 45 weeks ago. Offline
Joined: 03/02/2010
Re: Letter problem with UTF-8 or something else

thanks for return.since yesterday that is my only job, trying to figured that.And still no succes.

I am working with text file, trying to convert text file to bible module.
So i replaced letter with unicode the way you provided, end result at text file is like that:

Genesis 1:4 Ve Allah "ışı\u011fın" iyi olduğunu gördü; ve Allah ışığı karanlıktan ayırdı.

When i convert it to module it ignores unicode "\u011f" and and split verse from that poin and make iy like this:

Genesis 1:4 Ve Allah işi
in iyi oldugunu gördü; ve Allah işigi karanliktan ayirdi.

It breaks the sentence, instead of putting a right character(or even wrong) there.
So what did i did wrong ?could not find anything helpful on -google- regarding how to use unicode codes in txt instead of letters.

So, please, i need little bit more help on that.

Or just let me know, if PBeST can convert from rtf and rtf format can solve any problem regarding unicode issues.

(only version of bible which is using Turkish characters is Bloob crypted (i magine it is like cryption right?)So no chance for me to see how they done it.

DSaw
DSaw's picture
User offline. Last seen 38 weeks 4 days ago. Offline
Joined: 02/26/2009
Re: Letter problem with UTF-8 or something else

I have just learned rtf unicode in the past year and I do not have it down to a sience and turkish is not listed in the specs
here are some links that may help
http://en.wikipedia.org/wiki/Help:Turkish_characters
 
http://kuysal.blogspot.com/2008/03/turkish-unicode-characters.html
 
http://www.biblioscape.com/rtf15_spec.htm
 
http://en.wikipedia.org/wiki/Rich_Text_Format
 
 
david
 
 
 
 

The same thing said a different way sparks the understanding

David

http://usermodulesforesword.freeforums.org/portal.php

avaloncraven
avaloncraven's picture
User offline. Last seen 1 year 45 weeks ago. Offline
Joined: 03/02/2010
Re: Letter problem with UTF-8 or something else

Thanks david.
I studied links little bit, but there is dilemma, that BeST can not import .rtf ( or i could not make it import) and when i save .rtf as .txt, it become txt with bunch of meaningles codes :(

I could write xml file in this time which i invested to figured how to make it from txt but some how BeST is not recognizin zefenia files ( i download bunch of zefenia files, none of them worked), and it is the only xml example i have.

Even did not converted BeST example file "asv.osis.xml"

I only wondering, PBeST can export bblx modules in to rtf format, which i can export exist translation and then just replace the text with my file.Since all encoding is already there, but would it be export offical e-sword module ? That is my concern.

i dont know, i ll try downgrade my e-sword to one which works with .bbl , and ll try tu use Med, create a bible.I am not sure if it ll support Turkish letters ( on Med screen it does not but could not tried on e-sword itself yet).

That look only solution for me right now.

DSaw
DSaw's picture
User offline. Last seen 38 weeks 4 days ago. Offline
Joined: 02/26/2009
Re: Letter problem with UTF-8 or something else

e-Sword reads rtf
 
have you tried the other file formats best uses

The same thing said a different way sparks the understanding

David

http://usermodulesforesword.freeforums.org/portal.php

avaloncraven
avaloncraven's picture
User offline. Last seen 1 year 45 weeks ago. Offline
Joined: 03/02/2010
Re: Letter problem with UTF-8 or something else

Yes.I tried excell, got same error with letters. And could not make xml works, did not want to deal with csv.

SO if i set up a rtf correctly like bible.rtf, and just change the name to bible.bblx, e-sword would read it as a functioning bible ?

DSaw
DSaw's picture
User offline. Last seen 38 weeks 4 days ago. Offline
Joined: 02/26/2009
Re: Letter problem with UTF-8 or something else

I seem to be Confusing you more then Helping you
 

The same thing said a different way sparks the understanding

David

http://usermodulesforesword.freeforums.org/portal.php

avaloncraven
avaloncraven's picture
User offline. Last seen 1 year 45 weeks ago. Offline
Joined: 03/02/2010
Re: Letter problem with UTF-8 or something else

No, please dont take it like that brother, your help really been blessing.I ll solve this problem i know, and your ideas, informations are helped a lot.At least i know what is not working now :D Kidding, please share with me if you get any more idea which possibly can solve the problem.

avaloncraven
avaloncraven's picture
User offline. Last seen 1 year 45 weeks ago. Offline
Joined: 03/02/2010
Re: Letter problem with UTF-8 or something else

I do have one cofusion.
I have donated some amount and get PBeST with hope maybe export rtf or some other options will help me.
But problem, I see no diffrence between PBeST and BeST Standart. I was not able to choose Merge Two modules, or modify exist module, they were Ghosted, and in PBeST it still is. Also export as rtf same way.So is there a really a diffrence between BeST and PBeST, or my version is broken?
Here what i mean. I like to able choose Modify and existing module but i can't.So i need little bit info on that please.

bible.study.software
bible.study.software's picture
User offline. Last seen 38 weeks 6 days ago. Offline
Joined: 03/26/2009
Re: Letter problem with UTF-8 or something else

avaloncraven wrote:
I really wonder if PBeST will solve this problem?

a) BPeST is no longer supported, and has not been supported for several years;

b) BPeST is for Pocket e-Sword. Unless you are trying to create a resource for Pocket e-Sword it won't be of any help to you;

jonathon

n/a
avaloncraven
avaloncraven's picture
User offline. Last seen 1 year 45 weeks ago. Offline
Joined: 03/02/2010
Re: Letter problem with UTF-8 or something else

:(