Commit Graph

18 Commits

Author SHA1 Message Date
bart
1f91afe602 LazUtils: fix issue with implicit codepage conversion in ParamStrUtf8. Issue #0028815.
git-svn-id: trunk@50569 -
2015-12-02 13:33:56 +00:00
bart
efc3ca18be LazUtf8: Fix Utf8ToConsole. Patch by ChrisF, modified by me. Issue #0028371.
git-svn-id: trunk@50514 -
2015-11-27 10:39:35 +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
bart
094b14ce22 LazUtils: remove legacy code for the 2.6.0 compiler.
git-svn-id: trunk@50496 -
2015-11-24 14:06:50 +00:00
bart
984edab996 LazUtils: fix compilation of LazUtf8 for fpc <= 3.0.0 after r50470 #22750460e4.
git-svn-id: trunk@50475 -
2015-11-22 23:32:54 +00:00
bart
22750460e4 LazUtils: fix compilation of LazUtf8 for WinCE. Issue #0029059.
git-svn-id: trunk@50470 -
2015-11-22 12:33:32 +00:00
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
e1e00306cf lazutf8: GetFormatSettingsUTF8: map common multibyte chars to ASCII
git-svn-id: trunk@47890 -
2015-02-18 19:51:28 +00:00
mattias
27ab2c6a1f lazutils: less hints
git-svn-id: trunk@47799 -
2015-02-15 12:37:49 +00:00
mattias
3fb03c60b1 lazutf8: UTF8StrLICompAnsiString: use Count as fixed bound, do not check for #0
git-svn-id: trunk@47162 -
2014-12-10 01:04:26 +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
b27cc83e34 lazutils: show exceptions of GetFormatSettingsUTF8
git-svn-id: trunk@47103 -
2014-12-04 18:10:53 +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
mattias
5885982aca lazutils: added WinCPToUTF8 and UTF8ToWinCP
git-svn-id: trunk@46904 -
2014-11-20 15:26:28 +00:00
paul
556f193194 components: cleanup
git-svn-id: trunk@41809 -
2013-06-23 10:24:38 +00:00
bart
51a7ea5e7a LazUtf8: Next attempt to fix compilation with 2.6.0 on Windows.
git-svn-id: trunk@41729 -
2013-06-16 13:04:53 +00:00
bart
2aa7ae79c9 LazUtf8: Fix compiling Windows implementation of ParamStrUtf8 for fpc 2.6.0.
git-svn-id: trunk@41724 -
2013-06-16 11:55:10 +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