【发布时间】:2014-05-05 17:17:43
【问题描述】:
我在我的电脑上安装了新的 Windows 7。
我有一个 delphi 7 应用程序,它使用 TAdoQuery 从具有希伯来字母的表中选择 MS Access 数据。
在 Access 中,数据保存正常。
系统区域设置将希伯来语作为非 Unicode 语言。
但是当从表中获取数据时,delphi 将希伯来字母显示为问号 (?)。
有什么想法吗?
代码示例:
with qryCustom do
begin
Close;
SQL.Text := 'select * from TB_Files where ID > 0 order by ID';
Open;
while not EOF do
begin
lItem := lvFiles.Items.Add;
lItem.ImageIndex := 1;
lItem.Caption := FieldByName('FullFileName').AsString;
Next;
end;
Close;
end;
【问题讨论】:
标签: delphi ms-access delphi-7 tadoquery