← Back to team overview

zim-wiki team mailing list archive

Re: can't get windows version to start

 

Checking a test case I realized that the path to the translation itself
does not have unicode: it is just "locale/.../nb.mo" for Norwegian.

So unicode character must be in the installation path of zim - can you
share the installation folder ?

Regards,

Jaap

On Wed, Apr 26, 2017 at 9:54 AM Jaap Karssenberg <jaap.karssenberg@xxxxxxxxx>
wrote:

> Must indeed be related to unicode symbol in the path - either the install
> path of zim itself, or the path towards the language files. If zim does
> start with english locale at the same location, it is the later.
>
> If this is the case we might be handing off the path in unicode while
> gettext expects encoded path - will look into that and see if I can test it
> here.
>
> -- Jaap
>
>
> On Wed, Apr 26, 2017 at 9:35 AM Marco Cevoli <marco.cevoli@xxxxxxxxx>
> wrote:
>
>> If I'm not mistaken, apparently, the å (a with the little symbol) of
>> the language name is not correctly interpreted / decoded.
>> I can't remember how it's done, but try launching Zim with English as
>> a language and see if it works.
>>
>> Regards
>>
>> Marco Cevoli
>>
>> On Wed, Apr 26, 2017 at 7:50 AM, Svenn Are Bjerkem
>> <svenn.bjerkem@xxxxxxxxxxxxxx> wrote:
>> > On 25 April 2017 at 22:50, Brendan Kidwell <brendan@xxxxxxxxx> wrote:
>> >>   "C:\Program Files (x86)\Zim Desktop Wiki\zim.exe" --standalone
>> >>     --debug
>> >
>> > INFO: Locale set to: Norwegian (Bokmål)_Norway.1252
>> > Traceback (most recent call last):
>> >   File "zim.py", line 37, in <module>
>> >   File "zim\__init__.pyo", line 173, in <module>
>> >   File "gettext.pyo", line 496, in install
>> >   File "gettext.pyo", line 468, in translation
>> >   File "gettext.pyo", line 451, in find
>> >   File "ntpath.pyo", line 85, in join
>> > UnicodeDecodeError: 'ascii' codec can't decode byte 0xe5 in position
>> > 15: ordinal not in range(128)
>> >
>> >
>> >
>> > --
>> > Svenn
>> >
>> > _______________________________________________
>> > Mailing list: https://launchpad.net/~zim-wiki
>> > Post to     : zim-wiki@xxxxxxxxxxxxxxxxxxx
>> > Unsubscribe : https://launchpad.net/~zim-wiki
>> > More help   : https://help.launchpad.net/ListHelp
>>
>> _______________________________________________
>> Mailing list: https://launchpad.net/~zim-wiki
>> Post to     : zim-wiki@xxxxxxxxxxxxxxxxxxx
>> Unsubscribe : https://launchpad.net/~zim-wiki
>> More help   : https://help.launchpad.net/ListHelp
>>
>

Follow ups

References