Re: [sword-devel] Rendering issues with Finnish Umlauts in FinPR

2023-01-21 Thread Greg Hellings
Is Ezra properly setting encoding on the content it renders? Is it maybe
setting a font that doesn't have the proper code points?

--Greg

On Sat, Jan 21, 2023, 13:12 Tobias Klein  wrote:

> Hi Kristof, David,
>
> Adding Encoding=UTF-8 to the module conf file ~/.sword/mods.d/finpr.conf
> does not solve my issue.
>
> The text still looks the same as before ...
>
> What else could I do to further debug this?
>
> Best regards,
> Tobias
> On 1/21/23 5:18 PM, Kristof Szabo wrote:
>
> Hi Thomas,
>
> I suppose the problem is that finpr.conf contains no encoding information
> (check the Hun* modules for reference), and if there is nothing specified
> Latin-1 is the default. mod2osis (shouldn't be used !! :)) shows that the
> module is in UTF-8, so there is a misalignment.
>
>
> https://wiki.crosswire.org/DevTools:conf_Files#:~:text=Plaintext-,Encoding,-UTF%2D8%0AUTF
>
> Kind regards,
> Kristof
>
> On Sat, Jan 21, 2023 at 4:49 PM David Haslam 
> wrote:
>
>> Hi Thomas,
>>
>> What about other Finnish modules?
>> eg. FinPR92, FinRK, FinSTLK2017
>>
>> Presumably you already tested (eg) German modules and found that umlauts
>> and eszett are both rendered aright?
>>
>> Btw. FinPR renders aright in PocketSword (iOS/iPadOS).
>>
>> David
>>
>> Sent from Proton Mail for iOS
>>
>>
>> On Sat, Jan 21, 2023 at 15:25, Tobias Klein  wrote:
>>
>> Hi,
>>
>> When retrieving the text of the FinPR module I am getting some rendering
>> issues with the Finnish Umlauts. This is based on a user's problem report.
>>
>>
>> Romans 5:8 returns like this in node-sword-interface / Ezra:
>>
>> Mutta Jumala osoittaa rakkautensa meit� kohtaan siin�, ett� Kristus, kun
>> me viel� olimme syntisi�, kuoli meid�n edest�mme.
>>
>>
>> While it should like like this (rendered text copied from Xiphos):
>>
>> Mutta Jumala osoittaa rakkautensa meitä kohtaan siinä, että Kristus, kun
>> me vielä olimme syntisiä, kuoli meidän edestämme.
>>
>>
>> This occurs both on Linux and macOS (have not tested on Windows yet).
>>
>> Any pointers what could be the root cause? I generally have not observed
>> rendering issues with other modules.
>>
>>
>> Best regards,
>> Tobias
>>
>> ___
>> sword-devel mailing list: sword-devel@crosswire.org
>> http://crosswire.org/mailman/listinfo/sword-devel
>> Instructions to unsubscribe/change your settings at above page
>>
>
> ___
> sword-devel mailing list: 
> sword-devel@crosswire.orghttp://crosswire.org/mailman/listinfo/sword-devel
> Instructions to unsubscribe/change your settings at above page
>
> ___
> sword-devel mailing list: sword-devel@crosswire.org
> http://crosswire.org/mailman/listinfo/sword-devel
> Instructions to unsubscribe/change your settings at above page
>
___
sword-devel mailing list: sword-devel@crosswire.org
http://crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page


Re: [sword-devel] Rendering issues with Finnish Umlauts in FinPR

2023-01-21 Thread Tobias Klein

Hi Kristof, David,

Adding Encoding=UTF-8 to the module conf file ~/.sword/mods.d/finpr.conf 
does not solve my issue.


The text still looks the same as before ...

What else could I do to further debug this?

Best regards,
Tobias

On 1/21/23 5:18 PM, Kristof Szabo wrote:

Hi Thomas,

I suppose the problem is that finpr.conf contains no encoding 
information (check the Hun* modules for reference), and if there is 
nothing specified Latin-1 is the default. mod2osis (shouldn't be used 
!! :)) shows that the module is in UTF-8, so there is a misalignment.


https://wiki.crosswire.org/DevTools:conf_Files#:~:text=Plaintext-,Encoding,-UTF%2D8%0AUTF 



Kind regards,
Kristof

On Sat, Jan 21, 2023 at 4:49 PM David Haslam > wrote:


Hi Thomas,

What about other Finnish modules?
eg. FinPR92, FinRK, FinSTLK2017

Presumably you already tested (eg) German modules and found that
umlauts and eszett are both rendered aright?

Btw. FinPR renders aright in PocketSword (iOS/iPadOS).

David

Sent from Proton Mail for iOS


On Sat, Jan 21, 2023 at 15:25, Tobias Klein mailto:cont...@tklein.info>> wrote:


Hi,

When retrieving the text of the FinPR module I am getting some
rendering issues with the Finnish Umlauts. This is based on a
user's problem report.


Romans 5:8 returns like this in node-sword-interface / Ezra:

Mutta Jumala osoittaa rakkautensa meit� kohtaan siin�, ett�
Kristus, kun me viel� olimme syntisi�, kuoli meid�n edest�mme.


While it should like like this (rendered text copied from Xiphos):

Mutta Jumala osoittaa rakkautensa meitä kohtaan siinä, että
Kristus, kun me vielä olimme syntisiä, kuoli meidän edestämme.


This occurs both on Linux and macOS (have not tested on Windows yet).

Any pointers what could be the root cause? I generally have not
observed rendering issues with other modules.


Best regards,
Tobias


___
sword-devel mailing list: sword-devel@crosswire.org

http://crosswire.org/mailman/listinfo/sword-devel

Instructions to unsubscribe/change your settings at above page


___
sword-devel mailing list: sword-devel@crosswire.org
http://crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page
___
sword-devel mailing list: sword-devel@crosswire.org
http://crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page


Re: [sword-devel] Rendering issues with Finnish Umlauts in FinPR

2023-01-21 Thread domcox



Please note that besides FinPR, there are 54 other modules without 
a valid Encoding value, among them:


[GreekHebrew] Lang=grc
[HebrewGreek] Lang=he
[KLV] Lang=tlh
[KLVen_iklingon] Lang=tlh
[KLViklingon_en] Lang=tlh
[ManxGaelic] Lang=gv
[Maori] Lang=mi
[Rieger] Lang=de
[ScotsGaelic] Lang=gd
[Swahili] Lang=sw
[Tagalog] Lang=tl
[Uma] Lang=ppk
[Vulgate_HebPs] Lang=la

--
Dom

Karl Kleinpaste  writes:


On 1/21/23 12:08, Kristof Szabo wrote:

 changing libsword

But no change should be needed. As has been observed, both 
Xiphos and PocketSword display FinPR correctly in its current

state (which I've just confirmed).
Why are they successful and Ezra is not?

___
sword-devel mailing list: sword-devel@crosswire.org
http://crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page


___
sword-devel mailing list: sword-devel@crosswire.org
http://crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page


Re: [sword-devel] Rendering issues with Finnish Umlauts in FinPR

2023-01-21 Thread Kristof Szabo
@Thomas

I'd help :) I have some time now, but ezra doesn't install either on my
Chromebook Debian or on my Ubuntu laptop, so my wisdom ends here... all you
need to do is to update locally the conf file with encoding info, check if
this fixes the issue, if yes, submit a new module config to Dom, if no,
then we are back to square one.

Kind regards,
k-


On Sat, Jan 21, 2023 at 6:36 PM David Haslam  wrote:

> Hi Kristóf,
>
> The FinPR module is over ten years old, well before Dominique took on his
> active role in the modules team. He would probably not have the original
> OSIS XML file that was used to build the module.
>
> The script he developed to rebuild a .conf file (in the current release
> process) requires being able to analyse the OSIS file to search for
> particular features, etc.
>
> The simplest way forward would therefore be by manual editing finpr.conf
>
> David
>
> Sent from Proton Mail for iOS
>
>
> On Sat, Jan 21, 2023 at 17:08, Kristof Szabo  wrote:
>
> From my perspective this is a typical ¯\_(ツ)_/‌¯ situation, the
> specification speaks clearly, from my point of view changing the module
> configurations is easier (and less disruptive) than changing libsword.
>
> Just comes to my mind: Dom has a conf generator for modules, which he uses
> when new modules are submitted, maybe the whole problem is not more than
> regenerating the module config with that tool.
>
> @domcox  shall I (or someone else) submit a new
> config for this module, or can your script do the magic?
>
> k-
>
> On Sat, Jan 21, 2023 at 5:36 PM Karl Kleinpaste 
> wrote:
>
>> On 1/21/23 11:18, Kristof Szabo wrote:
>>
>> if there is nothing specified Latin-1 is the default
>>
>> At ths point, I think Latin-1 is a poor default. UTF-8 should be assumed
>> in the absence of something specific.
>>
>> I have 842 modules in place, of which 746 have Encoding=UTF-8, and no
>> module has any other explicit Encoding. What modules' display would break
>> if UTF-8 was the default?
>> ___
>> sword-devel mailing list: sword-devel@crosswire.org
>> http://crosswire.org/mailman/listinfo/sword-devel
>> Instructions to unsubscribe/change your settings at above page
>>
> ___
> sword-devel mailing list: sword-devel@crosswire.org
> http://crosswire.org/mailman/listinfo/sword-devel
> Instructions to unsubscribe/change your settings at above page
>
___
sword-devel mailing list: sword-devel@crosswire.org
http://crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page


Re: [sword-devel] Rendering issues with Finnish Umlauts in FinPR

2023-01-21 Thread David Haslam
Hi Kristóf,

The FinPR module is over ten years old, well before Dominique took on his 
active role in the modules team. He would probably not have the original OSIS 
XML file that was used to build the module.

The script he developed to rebuild a .conf file (in the current release 
process) requires being able to analyse the OSIS file to search for particular 
features, etc.

The simplest way forward would therefore be by manual editing finpr.conf

David

Sent from Proton Mail for iOS

On Sat, Jan 21, 2023 at 17:08, Kristof Szabo  wrote:

> From my perspective this is a typical ¯\_(ツ)_/¯ situation, the specification 
> speaks clearly, from my point of view changing the module configurations is 
> easier (and less disruptive) than changing libsword.
>
> Just comes to my mind: Dom has a conf generator for modules, which he uses 
> when new modules are submitted, maybe the whole problem is not more than 
> regenerating the module config with that tool.
>
> [@domcox](mailto:dom...@crosswire.org) shall I (or someone else) submit a new 
> config for this module, or can your script do the magic?
>
> k-
>
> On Sat, Jan 21, 2023 at 5:36 PM Karl Kleinpaste  wrote:
>
>> On 1/21/23 11:18, Kristof Szabo wrote:
>>
>>> if there is nothing specified Latin-1 is the default
>>
>> At ths point, I think Latin-1 is a poor default. UTF-8 should be assumed in 
>> the absence of something specific.
>>
>> I have 842 modules in place, of which 746 have Encoding=UTF-8, and no module 
>> has any other explicit Encoding. What modules' display would break if UTF-8 
>> was the default?
>> ___
>> sword-devel mailing list: sword-devel@crosswire.org
>> http://crosswire.org/mailman/listinfo/sword-devel
>> Instructions to unsubscribe/change your settings at above page___
sword-devel mailing list: sword-devel@crosswire.org
http://crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page


Re: [sword-devel] Rendering issues with Finnish Umlauts in FinPR

2023-01-21 Thread Karl Kleinpaste

On 1/21/23 12:08, Kristof Szabo wrote:

changing libsword
But no change should be needed. As has been observed, both Xiphos and 
PocketSword display FinPR correctly in its current state (which I've 
just confirmed).

Why are they successful and Ezra is not?___
sword-devel mailing list: sword-devel@crosswire.org
http://crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page


Re: [sword-devel] Rendering issues with Finnish Umlauts in FinPR

2023-01-21 Thread Kristof Szabo
>From my perspective this is a typical ¯\_(ツ)_/‌¯ situation, the
specification speaks clearly, from my point of view changing the module
configurations is easier (and less disruptive) than changing libsword.

Just comes to my mind:  Dom has a conf generator for modules, which he uses
when new modules are submitted, maybe the whole problem is not more than
regenerating the module config with that tool.

@domcox  shall I (or someone else) submit a new
config for this module, or can your script do the magic?

k-

On Sat, Jan 21, 2023 at 5:36 PM Karl Kleinpaste  wrote:

> On 1/21/23 11:18, Kristof Szabo wrote:
>
> if there is nothing specified Latin-1 is the default
>
> At ths point, I think Latin-1 is a poor default. UTF-8 should be assumed
> in the absence of something specific.
>
> I have 842 modules in place, of which 746 have Encoding=UTF-8, and no
> module has any other explicit Encoding. What modules' display would break
> if UTF-8 was the default?
> ___
> sword-devel mailing list: sword-devel@crosswire.org
> http://crosswire.org/mailman/listinfo/sword-devel
> Instructions to unsubscribe/change your settings at above page
>
___
sword-devel mailing list: sword-devel@crosswire.org
http://crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page


Re: [sword-devel] Rendering issues with Finnish Umlauts in FinPR

2023-01-21 Thread Karl Kleinpaste

On 1/21/23 11:18, Kristof Szabo wrote:

if there is nothing specified Latin-1 is the default
At ths point, I think Latin-1 is a poor default. UTF-8 should be assumed 
in the absence of something specific.


I have 842 modules in place, of which 746 have Encoding=UTF-8, and no 
module has any other explicit Encoding. What modules' display would 
break if UTF-8 was the default?___
sword-devel mailing list: sword-devel@crosswire.org
http://crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page


Re: [sword-devel] Rendering issues with Finnish Umlauts in FinPR

2023-01-21 Thread Kristof Szabo
Hi Thomas,

I suppose the problem is that finpr.conf contains no encoding information
(check the Hun* modules for reference), and if there is nothing specified
Latin-1 is the default. mod2osis (shouldn't be used !! :)) shows that the
module is in UTF-8, so there is a misalignment.

https://wiki.crosswire.org/DevTools:conf_Files#:~:text=Plaintext-,Encoding,-UTF%2D8%0AUTF

Kind regards,
Kristof

On Sat, Jan 21, 2023 at 4:49 PM David Haslam  wrote:

> Hi Thomas,
>
> What about other Finnish modules?
> eg. FinPR92, FinRK, FinSTLK2017
>
> Presumably you already tested (eg) German modules and found that umlauts
> and eszett are both rendered aright?
>
> Btw. FinPR renders aright in PocketSword (iOS/iPadOS).
>
> David
>
> Sent from Proton Mail for iOS
>
>
> On Sat, Jan 21, 2023 at 15:25, Tobias Klein  wrote:
>
> Hi,
>
> When retrieving the text of the FinPR module I am getting some rendering
> issues with the Finnish Umlauts. This is based on a user's problem report.
>
>
> Romans 5:8 returns like this in node-sword-interface / Ezra:
>
> Mutta Jumala osoittaa rakkautensa meit� kohtaan siin�, ett� Kristus, kun
> me viel� olimme syntisi�, kuoli meid�n edest�mme.
>
>
> While it should like like this (rendered text copied from Xiphos):
>
> Mutta Jumala osoittaa rakkautensa meitä kohtaan siinä, että Kristus, kun
> me vielä olimme syntisiä, kuoli meidän edestämme.
>
>
> This occurs both on Linux and macOS (have not tested on Windows yet).
>
> Any pointers what could be the root cause? I generally have not observed
> rendering issues with other modules.
>
>
> Best regards,
> Tobias
>
> ___
> sword-devel mailing list: sword-devel@crosswire.org
> http://crosswire.org/mailman/listinfo/sword-devel
> Instructions to unsubscribe/change your settings at above page
>
___
sword-devel mailing list: sword-devel@crosswire.org
http://crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page


Re: [sword-devel] Rendering issues with Finnish Umlauts in FinPR

2023-01-21 Thread David Haslam
Hi Thomas,

What about other Finnish modules?
eg. FinPR92, FinRK, FinSTLK2017

Presumably you already tested (eg) German modules and found that umlauts and 
eszett are both rendered aright?

Btw. FinPR renders aright in PocketSword (iOS/iPadOS).

David

Sent from Proton Mail for iOS

On Sat, Jan 21, 2023 at 15:25, Tobias Klein  wrote:

> Hi,
>
> When retrieving the text of the FinPR module I am getting some rendering 
> issues with the Finnish Umlauts. This is based on a user's problem report.
>
> Romans 5:8 returns like this in node-sword-interface / Ezra:
>
> Mutta Jumala osoittaa rakkautensa meit� kohtaan siin�, ett� Kristus, kun me 
> viel� olimme syntisi�, kuoli meid�n edest�mme.
>
> While it should like like this (rendered text copied from Xiphos):
>
> Mutta Jumala osoittaa rakkautensa meitä kohtaan siinä, että Kristus, kun me 
> vielä olimme syntisiä, kuoli meidän edestämme.
>
> This occurs both on Linux and macOS (have not tested on Windows yet).
>
> Any pointers what could be the root cause? I generally have not observed 
> rendering issues with other modules.
>
> Best regards,
> Tobias___
sword-devel mailing list: sword-devel@crosswire.org
http://crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page


[sword-devel] Rendering issues with Finnish Umlauts in FinPR

2023-01-21 Thread Tobias Klein

Hi,

When retrieving the text of the FinPR module I am getting some rendering 
issues with the Finnish Umlauts. This is based on a user's problem report.



Romans 5:8 returns like this in node-sword-interface / Ezra:

Mutta Jumala osoittaa rakkautensa meit� kohtaan siin�, ett� Kristus, kun 
me viel� olimme syntisi�, kuoli meid�n edest�mme.



While it should like like this (rendered text copied from Xiphos):

Mutta Jumala osoittaa rakkautensa meitä kohtaan siinä, että Kristus, kun 
me vielä olimme syntisiä, kuoli meidän edestämme.



This occurs both on Linux and macOS (have not tested on Windows yet).

Any pointers what could be the root cause? I generally have not observed 
rendering issues with other modules.



Best regards,
Tobias

___
sword-devel mailing list: sword-devel@crosswire.org
http://crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page