juha
07607b4bba
LazUtils: Raise exception in UTF8To... functions, controlled by a global boolean. Issue #33686 , patch from AlexeyT.
...
git-svn-id: trunk@59416 -
2018-11-01 08:39:09 +00:00
juha
6810c626df
LazUtils: Change "Character" to "Codepoint" in LazUTF8 function names to be more accurate and to avoid confusion.
...
git-svn-id: trunk@56692 -
2017-12-11 19:44:22 +00:00
juha
920c072f0e
LazUtils: Add, fix and unify header comments of many units.
...
git-svn-id: trunk@52518 -
2016-06-18 16:40:04 +00:00
bart
0c8df133dd
LazUtils:
...
- An attempt to unify the defines for the different scenario's in the use of (not) codepage aware ansistrings
and the use of the "Utf8 in RTL" feature.
It makes for better separation of code and thus better readability and ease of maintainance (and in a later
stadium it makes it easier to remove code that deals with non codepage aware ansistrings (fpc < 3.0)).
- Also replace (FPC_FULLVERSION >= xxxx) with FPC_HAS_CPSTRING where appropriate.
- Replace the custom HasCP define with built in FPC_HAS_CPSTRING define.
git-svn-id: trunk@50498 -
2015-11-24 16:23:18 +00:00
juha
c831f9ecd9
LazUtils: Less notes from compiler about Asian codepages.
...
git-svn-id: trunk@50088 -
2015-10-16 21:48:15 +00:00
mattias
43bbbdf2d0
lazutils: fixed compialtion EnableUTF8RTL
...
git-svn-id: trunk@49866 -
2015-09-21 18:18:12 +00:00
mattias
9c680beb48
lazutils: lconvencoding: using system conversion only if available, extened ConvertEncodingFromUTF8 with parameter SetTargetCodePage, default is false for compatibility with code using 1.4 and below, bug #28485
...
git-svn-id: trunk@49859 -
2015-09-21 10:50:54 +00:00
juha
4285b7380f
LazUtils: Use SetCodePage() from FPC 3.x for UTF8ToXXX() functions in lconvencoding.
...
git-svn-id: trunk@49503 -
2015-07-07 11:43:23 +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
3f21a3c32a
lazutils: renamed functions DBCSToUTF8, UTF8ToDBCS, fixed dbcs last char, using half space for asian tables
...
git-svn-id: trunk@38241 -
2012-08-14 21:01:39 +00:00
mattias
9c9f62c013
lazutils: less hints
...
git-svn-id: trunk@35802 -
2012-03-07 11:55:37 +00:00
sekelsenmat
3ffd9d2af9
Moves lconvencoding.pas from the LCL to LazUtils
...
git-svn-id: trunk@32942 -
2011-10-17 11:36:24 +00:00