將字元轉換為基本字元。
類別: | 字元 |
陳述式
|
結果
|
---|---|
附註: SAS 工作階段編碼為 wlatin1。
data cities;length name$24 name_ascii$24; input name; name_ascii = basechar(name); put name_ascii=; cards; Mühlenfließ LaUña ZielonaGóra run; |
Muhlenfließ LaUna ZielonaGora |
附註: SAS 工作階段編碼為 wlatin1,且指定了 ESC 選項。
data cities;length name$24 name_ascii$80; input name; name_ascii = basechar(name, "ESC"); put name_ascii=; cards; Mühlenfließ LaUña ZielonaGóra run; |
Muhlenflie\u00df LaUna ZielonaGora |
附註: SAS 工作階段編碼為 wlatin1,且指定了 NCR 選項。
data cities;length name$24 name_ascii$80; input name; name_ascii = basechar(name, "NCR"); put name_ascii=; cards; Mühlenfließ LaUña ZielonaGóra run; |
Muhlenfließ LaUna ZielonaGora |