RC files update for Unicode, NL typo fix, UTF-16 conversions
|Reported by:||Jan-Willem Krans||Owned by:|
The RC compiler currently has a problem (no other compilers have this problem):
RC files will have to be stored as either ANSI or UTF-16. ANSI files can be normally patched, UTF-16 files need complete uploads to the SVN. All other file types can be converted to UTF-8 without any problems, including the mpcresources\text and resource.h files.
If the RC compiler receives an update to handle UTF-8, I think it's a good idea to convert absolutely all files to UTF-8 (even ANSI files) to get some unification. Updates of ANSI to UTF-8 can be processed by a normal .patch update, it will indicate that the first line of a file changed, along with any characters that use code point 128 and higher. There's a small exception for the .bat utilities, these need conversion to Powershell items to be able to handle Unicode input.
Some of the current RC files can be saved as ANSI, to make them patchable.
I included a .patch file to change the wrong code page extensions to indicate that the whole program should compile for Unicode (UTF-8 extensible), for patchable ANSI RC files. Non-patchable files are included in the 7z file.
Converted to ANSI (these RC files already only use ANSI characters):
mplayerc.??.rc: it, ca, es, de, fr, nl, sv, br
Converted to UTF-8 (not RC files):
Remained UTF-16 (these RC files already use characters that are not included in ANSI):
mplayerc.??.rc: by, cz, hu, hy, ja, kr, pl, ru, sc, sk, tc, tr, ua
NL typo fix: afsplem to afspelen.
I marked this item as "critical", because this revision has to happen before any of these files are changed.
These items are based on the build 2937.
No actual new functions or fixes beyond Unicode changes are applied in this fix.