Difference between revisions of "Lazarus with FPC3.0 without UTF-8 mode"

From Free Pascal wiki
Jump to navigationJump to search
Line 5: Line 5:
 
This way it affects both the project and all its dependent packages, including LazUtils which contains the relevant code.
 
This way it affects both the project and all its dependent packages, including LazUtils which contains the relevant code.
  
Many of the problems you encounter are counter-intuitive. Bart has collected some reported issues under a meta-issue. It includes issues in FPC.
+
Many of the problems are counter-intuitive. Bart has collected some reported issues under a meta-issue. It includes issues in FPC.
 
* http://bugs.freepascal.org/view.php?id=28857
 
* http://bugs.freepascal.org/view.php?id=28857
  
 
ToDo: Explain each problem and a solution for it ...
 
ToDo: Explain each problem and a solution for it ...

Revision as of 20:54, 28 October 2015

This page explains the problems and their possible solutions when using Lazarus with FPC 3.0+ but without the new UTF-8 mode. It may be needed when big parts of program code depend on system codepage.

To disable the new UTF-8 mode, -dDisableUTF8RTL must be defined in project options, "Additions and Overrides" page. There is a button "Use system encoding" to help adding it with one click. This way it affects both the project and all its dependent packages, including LazUtils which contains the relevant code.

Many of the problems are counter-intuitive. Bart has collected some reported issues under a meta-issue. It includes issues in FPC.

ToDo: Explain each problem and a solution for it ...