🔒 This topic is solved and locked.
Need further help from the community? Please
sign in and ask a new question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Posted 07-14-2021 04:12 AM
(1928 views)
Hi please can anybody suggest how to remove this unwanted character .
Thanks .
1 ACCEPTED SOLUTION
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
6 REPLIES 6
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Use the COMPRESS function with your unwanted character as second argument.
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Hi please see the attached data .
there is a UTF-8 code i.e x96 . tis needs to be replaced with "-"
so o/p should be "Idameneo - Robina"
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Thank you sooo much !!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Looks like an encoding problem, three options to solve it:
- change the encoding of you sas session
- at the encoding-option to the infile-statement when reading the file
- change the encoding of the file before it is read
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Hex 96 is not UTF, it's a single-byte character in the Windows 1252 codepage, so a simple TRANSLATE should take care of it.