VCL TDBEdit Font->Charset Property not working as expected (C++ Builder 6) in 10.3

162 Views Asked by At

I used to work with the TDBEdit component in C++Builder 6 in a way that I was able get text transformed from codepage 1252 to 1250 when I switched the Font->Charset from 1 (DEFAULT_CHARSET) to 238 (EASTEUROPE_CHARSET).

Example: Œ => Ś

Now, with 10.3, the switching of the Charset has no effect.

Is this a bug in the TDBEdit component, or is it simply not working anymore with Unicode? Why is the property still available?

I tried to understand the reason by debugging, but I couldn't get through. The only thing I recognized was the different byte representation:

C++Builder 6: 'Œ' 140 (0xFFFFF8C)

10.3: 'Œ' -116 (0x8C)

I am really interested in the cause of the problem/misunderstanding of using TDBEdit in 10.3.

0

There are 0 best solutions below