Home > Back-end > Delphi2010 field value AsAnsiString garbled
Delphi2010 field value AsAnsiString garbled
Time:10-17
program used on Japanese operating system, the export Excel function, take the Dataset values, using AsString passed values would be exported complains, should be a different operating system environment, change AsAnsiString export value is no problem, but some Japanese characters will export will be garbled, such as this a few "????????? "String, become garbled, is in a dilemma, Please experts to understand, to the younger brother correct once, be obliged,
CodePudding user response:
Lu, before sleeping AsString passed values will is used to derive the complains?
CodePudding user response:
UTF8 encoding problem again? Japanese system? Xiao zhang is don't you? Ha ha!
CodePudding user response:
Japanese system, should use the AsString, Unicode to collect