[Lazarus] MaskEdit and Utf8 support

Bart bartjunk64 at gmail.com
Sun Oct 28 22:39:40 CET 2012


On 10/28/12, luiz americo pereira camara <luizmed at oi.com.br> wrote:

> Do you have a sample project that shows what bug this changes fixes?

It fixes issue #0017410.

Download my test suite from
http://home.tiscali.nl/~knmg0017/devel/maskedittest.zip
Build with r39174 or less.
Set EditMask to ccccccc (in "EditMask for Maskedit") and click "Apply Mask"
Try to enter any non-ascii character in the Sample MaskEdit, it will fail
Set Maskedit.Text to anything with non-ascii characters (in "Set Text
for MaskEdit") and click "Set Text". See how the non-ascii characters
will be replaced by a "?"

Upgrade to r39175, rebuild and retest to see the difference.

Bart




More information about the Lazarus mailing list