- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I am new to SAS
I received this very long SAS script from a client, the SAS scripts writes to a PDF and HTML files, I have to change some of the phrases to be in Arabic language.
the output was not pleasant, the Arabic came left to right oriented, it should be right to left, the Arabic letters came disconnected from each other.
I know I have to add encoding (UTF-8) somewhere, I don't know where
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
Regarding UTF8 you didn't mention which SAS interface you use (Enterprise Guide, SAS Studio, SAS Display Manager) but if you have SAS installed on your local Windows computer (versus on a server) you should have a programs shortcut named SAS 9.4 (Unicode Support) which will start a UTF8 SAS session. If your SAS is on a server than you need the administrator to switch the SAS on the server to UTF8 which have some consequences that needed to be considered.
However, if you only need English and Arabic I don't think that you need UTF8.
Aligning text right to left requires a little work. You can try various solutions like this or this.
I have no idea why the Arabic letters are not connected to each other. Did your SAS include Arabic when it was installed (assuming it is installed on your local Windows computer do you have an "ar" folder under C:\Program Files\SASHome\SASFoundation\9.4\nls)?
Hagay
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
@Hagay Do you know?
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
Regarding UTF8 you didn't mention which SAS interface you use (Enterprise Guide, SAS Studio, SAS Display Manager) but if you have SAS installed on your local Windows computer (versus on a server) you should have a programs shortcut named SAS 9.4 (Unicode Support) which will start a UTF8 SAS session. If your SAS is on a server than you need the administrator to switch the SAS on the server to UTF8 which have some consequences that needed to be considered.
However, if you only need English and Arabic I don't think that you need UTF8.
Aligning text right to left requires a little work. You can try various solutions like this or this.
I have no idea why the Arabic letters are not connected to each other. Did your SAS include Arabic when it was installed (assuming it is installed on your local Windows computer do you have an "ar" folder under C:\Program Files\SASHome\SASFoundation\9.4\nls)?
Hagay