We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
https://www.xsharp.eu/forum/topic?p=29347#p29347
Create a dbf with SetAnsi(FALSE) in VO, with this code:
FUNCTION Start() AS INT LOCAL cDbf AS STRING SetAnsi(FALSE) cDbf := "C:\dbf\testansi" DbCreate(cDbf,{{"TXT","C",20,0}}) SetAnsi(FALSE) DbUseArea(,,cDbf) DbAppend();FieldPut(1,"öÖäÄ") ? FieldGet(1) ? AllTrim(FieldGet(1)) == "öÖäÄ" // true DbCloseArea() SetAnsi(TRUE) DbUseArea(TRUE,,cDbf) ? FieldGet(1) ? AllTrim(FieldGet(1)) == "öÖäÄ" // false DbCloseArea() WAIT RETURN 0
Now try opening it in X#, with similar code, again using SetAnsi(FALSE), umlautes are not being read correctly:
FUNCTION Start() AS VOID LOCAL cDbf AS STRING cDbf := "C:\dbf\testansi" SetAnsi(FALSE) DbUseArea(TRUE,,cDbf) ? FieldGet(1) ? AllTrim(FieldGet(1)) == "öÖäÄ" // FALSE, wrong DbCloseArea() SetAnsi(TRUE) DbUseArea(TRUE,,cDbf) ? FieldGet(1) ? AllTrim(FieldGet(1)) == "öÖäÄ" // FALSE, OK DbCloseArea()
The text was updated successfully, but these errors were encountered:
[DBFNTX] Handle Oem2Ansi for NON Ansi DBF files. Fix for #1449
d7f6e28
Confirmed fixed
Sorry, something went wrong.
RobertvanderHulst
No branches or pull requests
https://www.xsharp.eu/forum/topic?p=29347#p29347
Create a dbf with SetAnsi(FALSE) in VO, with this code:
Now try opening it in X#, with similar code, again using SetAnsi(FALSE), umlautes are not being read correctly:
The text was updated successfully, but these errors were encountered: