View Issue Details

IDProjectCategoryView StatusLast Update
0006651JEDI VCL00 JVCL Componentspublic2018-10-01 21:57
ReporterggoellesAssigned ToAHUser 
Status resolvedResolutionfixed 
Product Version3.48 
Target VersionFixed in VersionDaily / GIT 
Summary0006651: Not all German special characters are accepted through EditControls in TJvDBGrid
Description'ü' and capital special characters like 'Ü', 'Ö', 'Ä' are not accepted with a German keyboard
Additional InformationFound the bug in JvDBGrid.pas in the constructor.

constructor TJvDBGrid.Create(AOwner: TComponent);

// Note to users: the second line may not compile on non western european
// systems, in which case you should simply remove it and recompile.
FCharList :=
    ['A'..'Z', 'a'..'z', ' ', '-', '+', '0'..'9', '.', ',', Backspace,
     'é', 'è', 'ê', 'ë', 'ô', 'ö', 'û', 'ù', 'â', 'à', 'ä', 'î', 'ï', 'ç'];

use this instead:
    ['A'..'Z', 'a'..'z', ' ', '-', '+', '0'..'9', '.', ',', Backspace,
     'é', 'è', 'ê', 'ë', 'ô', 'ö', 'Ö', 'û', 'ù', 'ü', 'Ü', 'â', 'à', 'ä', 'Ä', 'î', 'ï', 'ç'];
TagsNo tags attached.



2018-10-01 21:57

developer   ~0021577

Fixed by removing the public CharList property and using TCharacter.IsLetterOrDigit instead of it.

Issue History

Date Modified Username Field Change
2018-09-27 11:41 ggoelles New Issue
2018-10-01 21:57 AHUser Note Added: 0021577
2018-10-01 21:57 AHUser Status new => resolved
2018-10-01 21:57 AHUser Fixed in Version => Daily / GIT
2018-10-01 21:57 AHUser Resolution open => fixed
2018-10-01 21:57 AHUser Assigned To => AHUser