Overview
Comment: | Accept "1252" as a valid encoding for a locale
Windows uses this. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
87e332d1451e83dd4e8239e8536e771d |
User & Date: | js on 2017-01-08 03:57:57 |
Other Links: | manifest | tags |
Context
2017-01-08
| ||
20:14 | Clean up the dllexport mess a little check-in: f57765b5c6 user: js tags: trunk | |
03:57 | Accept "1252" as a valid encoding for a locale check-in: 87e332d145 user: js tags: trunk | |
03:49 | configure.ac: Fix a stupid typo check-in: 504f39c629 user: js tags: trunk | |
Changes
Modified src/OFSystemInfo.m from [2f5eb2340c] to [70cccb5f86].
︙ | ︙ | |||
106 107 108 109 110 111 112 113 114 115 116 117 118 119 | strcmp(tmp, "iso-8859-1") == 0) native8BitEncoding = OF_STRING_ENCODING_ISO_8859_1; else if (strcmp(tmp, "iso8859-15") == 0 || strcmp(tmp, "iso-8859-15") == 0) native8BitEncoding = OF_STRING_ENCODING_ISO_8859_15; } /* Territory */ if ((tmp = strrchr(locale, '_')) != NULL) { *tmp++ = '\0'; territory = [[OFString alloc] initWithCString: tmp | > > > > | 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 | strcmp(tmp, "iso-8859-1") == 0) native8BitEncoding = OF_STRING_ENCODING_ISO_8859_1; else if (strcmp(tmp, "iso8859-15") == 0 || strcmp(tmp, "iso-8859-15") == 0) native8BitEncoding = OF_STRING_ENCODING_ISO_8859_15; /* Windows uses a codepage */ else if (strcmp(tmp, "1252") == 0) native8BitEncoding = OF_STRING_ENCODING_WINDOWS_1252; } /* Territory */ if ((tmp = strrchr(locale, '_')) != NULL) { *tmp++ = '\0'; territory = [[OFString alloc] initWithCString: tmp |
︙ | ︙ |