juha
5fc7132693
Use the new UTF-8 system by default. Can be disabled by define DisableUTF8RTL. EnableUTF8RTL is removed.
...
git-svn-id: trunk@50129 -
2015-10-20 17:20:11 +00:00
mattias
dcfae18d9a
lazutils: comments
...
git-svn-id: trunk@49664 -
2015-08-13 10:13:05 +00:00
juha
06ac76f560
LazUtils, unit FileUtil: Disable conditionally LazUtf8 and LazFileUtils wrapper functions. For testing define NoLazUTF8Wrappers and build Lazarus.
...
git-svn-id: trunk@49494 -
2015-07-04 23:08:00 +00:00
juha
2d401fe45a
IDE: Support UTF-8 in editor UpperCase/LowerCase Selection commands. Issue #28361 , patch from Ondrej Pokorny.
...
git-svn-id: trunk@49481 -
2015-07-01 09:22:46 +00:00
juha
6cf8c56cfc
LazUtils: Improve UTF8WrapText. Issue #28259 , patch from Antônio Galvão.
...
git-svn-id: trunk@49300 -
2015-06-09 07:56:02 +00:00
juha
1568077381
LazUtils: Clean UTF8WrapText function in LazUTF8.
...
git-svn-id: trunk@49148 -
2015-05-23 14:13:04 +00:00
juha
37ae3c0f43
LazUtils: New UTF8WrapText function for LazUTF8. Issue #28001 , patch from Antônio Galvão.
...
git-svn-id: trunk@48924 -
2015-05-03 10:02:15 +00:00
juha
8250ced275
LazUtils: Use cwstring always with UTF8 RTL on Unix. Does not work without it.
...
git-svn-id: trunk@48776 -
2015-04-18 10:21:58 +00:00
mattias
222321addf
lazutils: simplify enableutf8rtl by only using lazutf8
...
git-svn-id: trunk@47915 -
2015-02-20 14:28:49 +00:00
mattias
e1e00306cf
lazutf8: GetFormatSettingsUTF8: map common multibyte chars to ASCII
...
git-svn-id: trunk@47890 -
2015-02-18 19:51:28 +00:00
mattias
2979c97a9a
lazutils: fixed compilation on win64
...
git-svn-id: trunk@47879 -
2015-02-18 16:52:32 +00:00
mattias
69edc4d8c0
lazutils: moved ReplaceSubString to LazUTF8, added UTF8QuotedStr
...
git-svn-id: trunk@47748 -
2015-02-13 20:34:21 +00:00
mattias
814cf1a717
lazutils: FindInvalidUTF8Character: check for wrong mapped codes, changed default to report gaps
...
git-svn-id: trunk@47172 -
2014-12-10 14:26:18 +00:00
mattias
4a8e3ccc51
lazutils: replaced utf8string with string
...
git-svn-id: trunk@47139 -
2014-12-08 15:50:31 +00:00
mattias
574751850e
lazutf8: in utf8 mode: override widestringmanager Ansi procs
...
git-svn-id: trunk@47108 -
2014-12-04 20:19:50 +00:00
mattias
e2c1838d3d
lazutils: sanity check macros
...
git-svn-id: trunk@47105 -
2014-12-04 18:11:56 +00:00
mattias
2a848a5c8c
lazutils: GetEnvironmentStringUTF8 for FPC_RTL_UNICODE
...
git-svn-id: trunk@47090 -
2014-12-04 14:28:35 +00:00
mattias
1b03376550
lazutils: paswstring: one string less in Wide2AnsiMove and Ansi2WideMove
...
git-svn-id: trunk@47086 -
2014-12-04 13:44:15 +00:00
mattias
21c8dad40d
lazutils: on force CP_UTF8: set argv and formatsettings
...
git-svn-id: trunk@46997 -
2014-11-26 22:12:50 +00:00
juha
a570fc82eb
LazUtils: Override SysToUTF8 and UTF8ToSys with FormatSettings param. Issue #26937 , patch from wp.
...
git-svn-id: trunk@46981 -
2014-11-24 12:17:15 +00:00
mattias
5885982aca
lazutils: added WinCPToUTF8 and UTF8ToWinCP
...
git-svn-id: trunk@46904 -
2014-11-20 15:26:28 +00:00
mattias
9928fb1647
lazutf8: docs
...
git-svn-id: trunk@46780 -
2014-11-07 16:12:32 +00:00
mattias
5992cb80f4
lazutils: fixed UTF8FindNearestCharStart for 64bit long strings
...
git-svn-id: trunk@45053 -
2014-05-17 12:05:05 +00:00
bart
2eb279e6e1
LazUtf8: implement Utf8 versions of LeftStr and RightStr.
...
git-svn-id: trunk@43348 -
2013-11-01 17:40:11 +00:00
mattias
a4a4e4c791
lazutils: small optimization
...
git-svn-id: trunk@42885 -
2013-09-19 18:36:23 +00:00
bart
7e9930404c
LazUtils: better implementation of Utf8StringOfChar. The previously uses conversion to Utf16
...
only worked if the codepoint was UCS2.
git-svn-id: trunk@42855 -
2013-09-18 10:26:09 +00:00
mattias
37aeda8f7b
lazutils: added UTF8StringReplace, feature 22148
...
git-svn-id: trunk@42707 -
2013-09-09 23:40:04 +00:00
mattias
63ec3d92ee
lazutils: clean up
...
git-svn-id: trunk@42589 -
2013-09-04 09:19:37 +00:00
bart
276a50bbd4
LazUtf8: Utf8StringOfChar: fix compilation error on Darwin.
...
git-svn-id: trunk@42577 -
2013-09-03 15:18:19 +00:00
bart
eebd3d2f93
LazUtf8: Add routines for padding UTF8 strings:
...
- Utf8StringOfChar
- Utf8AddChar
- Utf8AddCharR
- Utf8PadLeft
- Utf8PadRight
- Utf8PadCenter
Issue #0024319
git-svn-id: trunk@42575 -
2013-09-03 12:10:41 +00:00
mattias
04ad21f805
lazutils: notes about thread safety
...
git-svn-id: trunk@41945 -
2013-06-29 17:12:53 +00:00
bart
555ede86aa
LazUtils: Move SysErrorMessageUTF8 to LazUtf8 (and inline it in FileUtil).
...
Part of the ongoing restructuring of LazUtils.
git-svn-id: trunk@41588 -
2013-06-08 14:54:15 +00:00
bart
bcea8662ff
LazUtils: Move ConsoleToUTF8, UTF8ToConsole, ParamStrUTF8,
...
GetEnvironmentStringUTF8 and GetEnvironmentVariableUTF8 to LazUtf8 (and inline them in FileUtil).
Part of the ongoing restructuring of LazUtils.
git-svn-id: trunk@41587 -
2013-06-08 14:41:16 +00:00
juha
ecd140c985
Improve license headers in sources, part 2. Refer to details about license, not copyright. Remove jargon about lack of warranty, it is covered in license already.
...
git-svn-id: trunk@41389 -
2013-05-25 09:22:25 +00:00
mattias
6b9529ec0a
lazutf8: faster FindInvalidUTF8Character
...
git-svn-id: trunk@40673 -
2013-03-31 17:19:46 +00:00
mattias
b4a29891b3
lazutils: clean up
...
git-svn-id: trunk@40238 -
2013-02-10 12:06:24 +00:00
mattias
043dd66828
lazutils: added UTF8CompareStrCollated
...
git-svn-id: trunk@40228 -
2013-02-09 20:45:24 +00:00
mattias
067cab64c4
lazutils: UTF8LowerCase: small optimization
...
git-svn-id: trunk@39450 -
2012-12-06 15:03:10 +00:00
sekelsenmat
bdff370210
Attempt to fix bug #23428
...
git-svn-id: trunk@39437 -
2012-12-04 13:12:15 +00:00
mattias
8e3f146300
lazutils: less notes
...
git-svn-id: trunk@38398 -
2012-08-27 10:47:02 +00:00
mattias
b240df36a1
lazutils: UTF8CompareStr: made 64bit safe, added fast PChar versions
...
git-svn-id: trunk@38103 -
2012-08-01 10:50:19 +00:00
mattias
a355912beb
lazutils: inlined UTF8CompareStr
...
git-svn-id: trunk@37754 -
2012-06-24 06:58:59 +00:00
mattias
593c7fdb94
lazutils: utf8pos: added optional parameter StartPos
...
git-svn-id: trunk@37703 -
2012-06-20 12:11:42 +00:00
mattias
f0f090fb65
lazutf8: added overloaded UTF8FixBroken(var string)
...
git-svn-id: trunk@36319 -
2012-03-25 16:24:14 +00:00
mattias
9bb0b8ea71
lazutf8: utf8trim: trim no break spaces
...
git-svn-id: trunk@35903 -
2012-03-12 19:42:05 +00:00
mattias
3fff6d9bba
lazutf8: added stringlist sort function
...
git-svn-id: trunk@35888 -
2012-03-11 15:13:55 +00:00
mattias
4386e8fec8
lazutils: less hints
...
git-svn-id: trunk@35803 -
2012-03-07 12:02:09 +00:00
mattias
587a1ef0fd
lazutils: fixed NeedRTLAnsi under non Windows
...
git-svn-id: trunk@35423 -
2012-02-17 15:10:57 +00:00
mattias
17e624f523
lazutf8: added UTF8Trim
...
git-svn-id: trunk@35420 -
2012-02-17 14:53:48 +00:00
paul
76b34a64d8
lazutf8: prevent string codepage change
...
git-svn-id: trunk@35408 -
2012-02-17 06:14:40 +00:00