View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0003621||JEDI VCL||00 JVCL Components||public||2006-04-04 04:44||2006-04-14 06:52|
|Target Version||Fixed in Version||3.30|
|Summary||0003621: TJvFilenameEdit - ASCII Characters|
|Description||TJvFilenameEdit does not accept some ASCII characters from filenames.|
"C:\Program Files\My App\My AppÂ®.exe"
"C:\Program Files\My App\My Appr.exe" in the edit field.
"Â®" returns "r"
"Â©" returns "c"
Therefore the resulting file name is incorrect.
|Tags||No tags attached.|
||Please provide a sample application with such a filename, I'm very curious how you can even generate it.|
JvFilenameEdit.rar (510,978 bytes)
A sample application has been uploaded.
>"I'm very curious how you can even generate it."<
Just simply select a file rename it, use the ASCII code
"ALT + 0174" to get Â®
"ALT + 0169" to get Â©
These are characters wich can not be used in file names: "\ / : * ? < > |"
The problem is odd because JvEditbox will keep the ASCII characters.
This happens because the control sets its property OEMConvert to True.
Work-around is to set it to false, but because the property is protected you have to cast it:
TJvFilenameEditAccess = class(TJvFilenameEdit);
TJvFilenameEditAccess(JvFilenameEdit1).OEMConvert := False;
||OEMConvert is now published, that will do to me.|
|2006-04-04 04:44||syk0||New Issue|
|2006-04-05 01:31||obones||Note Added: 0008949|
|2006-04-05 01:31||obones||Status||new => feedback|
|2006-04-05 14:50||syk0||File Added: JvFilenameEdit.rar|
|2006-04-05 14:56||syk0||Note Added: 0009005|
|2006-04-05 16:38||remkobonte||Note Added: 0009006|
|2006-04-14 06:52||obones||Status||feedback => resolved|
|2006-04-14 06:52||obones||Resolution||open => fixed|
|2006-04-14 06:52||obones||Assigned To||=> obones|
|2006-04-14 06:52||obones||Note Added: 0009113|