Hello Team,
we are facing some issue when opening downloaded csv files (data read from SQL DB) using system.perspective.download that contain Non-English special characters.
The characters are not correctly denoted after the csv file is opened.
Need some solution or alternative suggestion on the issue.
In Database the characters are shown correctly also there is no error when we read into ignition using system.dataset.toCsv method , only issue occurs when we open that file in microsoft excel.
We require ANSI encoding. Currently it is UTF-8 encoding.
Is the file used elsewhere and you really need ANSI, or are you just opening it in Excel? If the latter, you'll need to add a byte-order marker to the file:
ANSI is a collection of multiple encodings(GB2312、GBK、GB18030、Big5、Shift_JIS and so on), and different languages correspond to different encodings.
I did a little test. I created a GB2312 (ANSI for Simplified Chinese) txt file and opened it with Notepad. Then it shows that the encoding is ANSI. Therefore, the Simplified Chinese Windows operating system thinks that GB2312 is ANSI.
For ANSI users of other languages, I think setting the encoding to the corresponding language's encoding should do the trick.