Hi,
Idem with "java -Dfile.encoding=UTF-8" or "-Dfile.encoding=UTF8" option
for mkgmap.
My 20000000.nsi is UTF-8 after running mkgmap.
The both files "installer_template.nsi" (in the /examples and in
mkgmap.jar) are ISO-8859.
$ file installer_template.nsi
installer_template.nsi: BSD makefile script, ISO-8859 text
So, during mkgmap execution a conversion ISO-8859 -> UTF-8 produces
weird characters as in "d�j� install�".
The output from makensis:
$ makensis -V3 20000000.nsi
MakeNSIS v31-Dec-2016.cvs - Copyright 1999-2016 Contributors
See the file COPYING for license details.
Credits can be found in the Users Manual.
Processing script file: "20000000.nsi" (UTF8)
Processed 1 file, writing output (x86-ansi):
Output: "/home/steph/osm/work_Mayotte/Mayotte OSM default.exe"
Install: 5 pages (320 bytes), 1 section (4120 bytes), 431 instructions
(12068 bytes), 442 strings (14178 bytes), 5 language tables (1610 bytes).
Uninstall: 1 page (128 bytes), 1 section (4120 bytes), 56 instructions
(1568 bytes), 204 strings (4884 bytes), 5 language tables (990 bytes).
Datablock optimizer saved 32134 bytes (~0.6%).
Using lzma (compress whole) compression.
EXE header size: 49152 / 36352 bytes
Install code: (29664 bytes)
Install data: (4767409 bytes)
Uninstall code+data: (28546 bytes)
Compressed data: 879779 / 4825619 bytes
CRC (0x4EB491BD): 4 / 4 bytes
Total size: 928935 / 4861975 bytes (19.1%)
Steph
Le 02/01/2017 à 13:30, Stéphane MARTIN a écrit :
> Hi,
>
> $ file 20000000.nsi
> 20000000.nsi: BSD makefile script, UTF-8 Unicode text
>
> But inside the 20000000.nsi:
>
> LangString AlreadyInstalled ${LANG_FRENCH} "${INSTALLER_NAME} est d�j�
> install�. $\n$\nAppuyez sur `OK` pour retirer la version pr�c�dente et
> continuer avec l'installation ou sur `Annuler` pour annuler cette mise �
> jour."
> LangString AlreadyInstalled ${LANG_SPANISH} "${INSTALLER_NAME} ya est�
> instalado. $\n$\nPulse `Aceptar` para eliminar la versi�n anterior y
> continuar la instalaci�n o `Cancelar` para cancelar esta actualizaci�n."
>
> I will try starting mkgmap with a java option that enforces utf-8.
> Thank you, Gerd, for the suggestion.
>
> Steph
>
> Le 02/01/2017 à 06:53, Gerd Petermann a écrit :
>> Hi Steph,
>>
>> not sure what to do here. Whenever I have such a problem I use regedit to
>> clean
>> the entries about installed maps.
>>
>> Gerd
>>
>>
>> Stéphane MARTIN wrote
>>> Hi,
>>>
>>> I am unable to obtain a proper installer for Windows.
>>>
>>> All the processes work fine until I open BaseCamp (v. 4.6.2)
>>> An error occur: "Problem with installation of Mayotte-OSM-default.
>>> Reinstall Mayotte-OSM-default and re-run BaseCamp."
>>>
>>> MapConverter does not want to run.
>>>
>>> Maps are made with a Linux station.
>>>
>>> makensis is from repository:
>>> $ makensis -VERSION
>>> $ v2.50-1
>>>
>>> mkgmap-r3741
>>>
>>> - Files -
>>> Style:
>>> http://tuxdomain.darktech.org/osm-garmin/view.php?file=Mayotte/default.zip
>>> Scripts:
>>> https//tuxdomain.darktech.org/osm-garmin/view.php?file=Mayotte/work_Mayotte.zip
>>>
>>> I did not see a message to help.
>>> A suggestion ?
>>>
>>> Steph
_______________________________________________
mkgmap-dev mailing list
[email protected]
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev