This forum is temporaily read-only. All existing discussions remain available for reference. For new questions, bug reports or support requests, please contact us at mail@lmdsupport.com.

Cannot display russian characters

Hi,

my app was previously developed with Delphi 6.

The form contains ELDBLabel (connected with TADSTable (descendant from TTable)), TElAdvancedEdit and a combobox with a list of charactersets.

ElAdvancedEdit.Text:=ELDBLabel.Caption

If a different characterset is used, i.e. russian characterset, then the code is: ElAdvancedEdit.Font.Charset:=.... //selected characterset

In the delphi 6 app the ElAdvancedEdit displayed perfectly i.e. cyryllic text from the database.


Now I bought LMD2019, I am using Delphi Tokyo and was migrating the old code to Delphi Tokyo. I did not modify anything, but I am unable to display from the exactly same database file with the same code cyryllic characters.

Any idea?


Comments

  • In Delphi Tokyo all strings are Unicode. So, may be the problem is in conversion somewhere. Or may be conversion is mising while required because of old database. something like this.
    Can you check issue with standard VCL controls?
  • The default controls show the same content like the ELDBLabel.

    When I change the regional settings to russian location then ELDBLabel and the default VCL controls display everything correct. But we are working here with german windows and we receive these small database files from russian customers.

    How can I solve this?
  • So, this is not a problem of our controls. Unfortunately, we, have no advice of how to handle your data files.
Sign In or Register to comment.