Jonas Maebe
|
bee20f79f0
* save original widestring manager on entry and restore it on exit, so that
|
11 years ago |
marco
|
0bb6469b80
* remove accidentally inserted BOM, as reported by M. Ring.
|
11 years ago |
marco
|
ebe262762a
* Clean out of $i textrec and filerec includes that are redundant now that cpstrrtl exposes
|
11 years ago |
Jonas Maebe
|
ecd3cba02b
* synchronised with trunk up to r24912
|
12 years ago |
pierre
|
f4b6625145
+ Use __setlocale_mb_len_max_32 for netbsd as suggested by linker warning
|
12 years ago |
yury
|
2b2a68446d
* Added new unit unixcp. It contains stuff from winiconv.inc - a table to map Windows code page identifiers to locale names on unix. Also GetSystemCodePage function in this unit can be used to detect which code page is used currently.
|
12 years ago |
Jonas Maebe
|
8bf71af3b1
* fixed compatilation on Haiku Alpha4 (patch by Olivier Coursière,
|
12 years ago |
Jonas Maebe
|
598d2feeb6
+ rtldefs.inc file for every target that contains defines shared by multiple
|
13 years ago |
pierre
|
7d82ed4459
+ Add ACCEPT_646 for systems that return '646' for nl_langinfo(CODESET) call
|
13 years ago |
Jonas Maebe
|
f0b7ce8afe
* fix building for Haiku/BeOS after r20839 (patch by Olivier Coursière)
|
13 years ago |
Jonas Maebe
|
1e9b92ee50
+ AIX support for cwstring
|
13 years ago |
Jonas Maebe
|
2c1f98320f
* disable implicit exception frames, no exceptions are raised by this unit
|
13 years ago |
Jonas Maebe
|
8d8fc0fdee
+ RTL for AIX
|
13 years ago |
Jonas Maebe
|
d3004d2bf6
* use same defaults for iPhoneSimulator as for iOS (UTF-8 etc, newer
|
13 years ago |
pierre
|
ff5d25174a
* Fix wide string shared library loading by adding 'lib' prefix if needed
|
13 years ago |
pierre
|
24d100d164
NetBSD CODESET and LC_ALL added
|
13 years ago |
sergei
|
e94508d5eb
* Improved utf16 to ucs4 conversion routines: removed function call on every character, allocate memory once and made as much as possible code shared between WideString and UnicodeString versions.
|
13 years ago |
sergei
|
c862aec17c
* cwstring.pp, Wide2AnsiMove: moved SetCodePage to the end, so it comes after the last SetLength. Necessary after r20209, because SetLength has been modified to always set the code page of its argument. Here it sets code page of 'dest' to CP_NONE, because dest is RawByteString.
|
13 years ago |
Jonas Maebe
|
eb680bcc5b
* don't try to set the iconv transliterate property in case the iconv
|
13 years ago |
Jonas Maebe
|
f287cf3f61
* default to UTF-8 as system code page in case nl_langinfo(CODESET) returns
|
13 years ago |
paul
|
b7185a554c
rtl:
|
13 years ago |
paul
|
e08c68f308
rtl: set codepages for TextRec field when Text file is opened + update this field for standard IO files when cwstring is used
|
13 years ago |
paul
|
270fb09e87
rtl: add WideStringManager.GetStandardCodePageProc method to retrieve system ansi and console code pages
|
13 years ago |
paul
|
3e29f0b179
rtl: make cwstring.pp dependent of dynlibs, load iconvctl dynamically
|
13 years ago |
Jonas Maebe
|
01b980a462
* added "inc" extension to {$i winiconv}
|
13 years ago |
Jonas Maebe
|
2b63a7d66f
* fixed compilation on darwin/arm after r19522
|
13 years ago |
paul
|
5d7d143300
rtl: transliterate characters if possible intead of replacing them with "?" chars while converting between codepages
|
13 years ago |
pierre
|
dbd3df9ddf
+ Added OpenBSD CODESET and LC_ALL values
|
14 years ago |
paul
|
6384fa2a19
rtl: revert r19330. We probably need to create a separate encoding<->codepage table.
|
14 years ago |
paul
|
a0e7196ae9
rtl: move winiconv.inc into general inc directory and rename it to wincodepages.inc, also rename win2iconv, iconv2win to CodePageToCodePageName, CodePageNameToCodePage.
|
14 years ago |