unicodearabicsybase-asa

How to export data with Arabic characters


I had an application that used a Sybase ASA 8 database. However, the application is not working anymore and the vendor went out of business.

Therefore, I've been trying to extract the data from the database, which has Arabic characters. When I connect to the database and display the contents, Arabic characters do not display correctly; instead, it looks something like ÇáÏãÇã.

Which is incorrect. I tried to export the data to a text file. Same result. Tried to save the text file with UTF-8 encoding, but to no avail.

I have no idea what collation the tables are set to. Is there a way to export the data correctly, or convert it to the correct encoding?


Solution

  • the problem was solved by exporting the data from the database using "Windows-1252" encoding, and then importing it to other applications with "Windows-1256" encoding.