https://bugs.winehq.org/show_bug.cgi?id=39298
Bug ID: 39298 Summary: kernel32 does not support custom nls installation. Product: Wine Version: 1.7.51 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: kernel32 Assignee: wine-bugs@winehq.org Reporter: htl10@users.sourceforge.net Distribution: ---
This is a somewhat related bug to 39297 - wine seems to use built-in code page tables ( wine/libs/wine/c_*.c ) . On newer windows, code page 708 is shipped with the OS; FontVal also bundle
CPinstall CPinstall/i386 CPinstall/i386/c_852.nls CPinstall/i386/c_1361.nls CPinstall/i386/c_708.nls CPinstall/i386/c_862.nls CPinstall/i386/c_775.nls CPinstall/i386/c_857.nls CPinstall/i386/c_737.nls CPinstall/i386/c_864.nls CPinstall/i386/c_869.nls CPinstall/CPinstall.inf CPinstall.dll
for older windows which does not have them. However, I tried installing them (via setupdll), it seems to popular the registry, and copy the nls files, but does not seem to have any effect on wine's behavior at all.
FWIW, there seems to be only one nls file shipped with wine, l_intl.nls, that if I remember correctly is required by dotnet; I don't seem to be able to find any code which read nls files in wine at all.
+++ This bug was initially created as a clone of Bug #39297 +++
Microsoft's FontValidator (https://www.microsoft.com/typography/FontValidator.mspx) when processing certain fonts, try to access code page 708, which is not available under wine.
FYI, mono has support for code page 708 - c.f. mcs/class/I18N/Rare/CP708.cs .
https://bugs.winehq.org/show_bug.cgi?id=39298
--- Comment #1 from Nikolay Sivov bunglehead@gmail.com --- With recent wine only c_708.nls was missing. It's generated and installed now in wine 5.19. Also since the switch to binary compatible nls files you probably can install additional codepages data files. But again for list give in bug description, everything is provided by default now. Any objections to closing this?
https://bugs.winehq.org/show_bug.cgi?id=39298
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 Status|UNCONFIRMED |NEEDINFO
--- Comment #2 from Nikolay Sivov bunglehead@gmail.com --- Hin-Tak, could you please give an update on this? We have now codepage files in binary compatible format, as standalone files. So I'm leaning towards closing this.
https://bugs.winehq.org/show_bug.cgi?id=39298
--- Comment #3 from Hin-Tak Leung htl10@users.sourceforge.net --- I checked wine git head:
$ git describe origin/master wine-7.10-27-gdd4a92bc259
The list of genuine microsoft nls files I had at one point in time (I copied it in the past from my windows partition, I think), which has no wine equivalents, are:
c_1047.nls c_1140.nls c_1141.nls c_1142.nls c_1143.nls c_1144.nls c_1145.nls c_1146.nls c_1147.nls c_1148.nls c_1149.nls c_20000.nls c_20001.nls c_20002.nls c_20003.nls c_20004.nls c_20005.nls c_20105.nls c_20106.nls c_20107.nls c_20108.nls c_20261.nls c_20269.nls c_20273.nls c_20277.nls c_20278.nls c_20280.nls c_20284.nls c_20285.nls c_20290.nls c_20297.nls c_20420.nls c_20423.nls c_20424.nls c_20833.nls c_20838.nls c_20871.nls c_20880.nls c_20905.nls c_20924.nls c_20936.nls c_21025.nls c_21027.nls c_858.nls c_870.nls
another one, c_28603 is only in wine source but not in my from-windows copies.
But I supppose, assuming "install additional codepages data files" now works, there is no need to keep this open.
I just mounted my windows partition, and did "ls /mnt/Windows/*/*.NLS | cut -f 5 -d / | sort | uniq" (system32 and SysWOW64 have somewhat different *.nls, no idea why - a total of 170 , a uniq 112), the ones that wine does not yet provide are:
< c_1047.nls < c_1140.nls < c_1141.nls < c_1142.nls < c_1143.nls < c_1144.nls < c_1145.nls < c_1146.nls < c_1147.nls < c_1148.nls < c_1149.nls
< c_20000.nls < c_20001.nls < c_20002.nls < c_20003.nls < c_20004.nls < c_20005.nls < c_20105.nls < c_20106.nls < c_20107.nls < c_20108.nls
< c_20261.nls < c_20269.nls < c_20273.nls < c_20277.nls < c_20278.nls < c_20280.nls < c_20284.nls < c_20285.nls < c_20290.nls < c_20297.nls < c_20420.nls < c_20423.nls < c_20424.nls < c_20833.nls < c_20838.nls
< c_20871.nls < c_20880.nls < c_20905.nls < c_20924.nls
< c_20936.nls
< c_21025.nls < c_21027.nls
< c_858.nls
< c_870.nls
This looks somewhat similar to my first list.
I am fine with closing if custom nls installation works.
https://bugs.winehq.org/show_bug.cgi?id=39298
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|NEEDINFO |RESOLVED
--- Comment #4 from Nikolay Sivov bunglehead@gmail.com --- Thanks. If you find some application that needs something from that list, please open a new report.
https://bugs.winehq.org/show_bug.cgi?id=39298
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #5 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 7.11.