2006 Aug 26 5:40 AM
Is there a SAP-supplied mechanism for converting a Unicode code point (i.e. an integer in the range 0 - 1,114,111 (= 0x10FFFF)) to the corresponding ABAP character? I would expect this to work in both Unicode and non-Unicode systems. The conversion should always be successful in a Unicode system. It might fail in a non-Unicode system if the specified character were not in the current code page.
Thanks.
?David Rosenberg <[email protected]>
Is there a SAP-supplied mechanism for converting a Unicode code point (i.e. an integer in the range 0 - 1,114,111 (= 0x10FFFF)) to the corresponding ABAP character? I would expect this to work in both Unicode and non-Unicode systems. The conversion should always be successful in a Unicode system. It might fail in a non-Unicode system if the specified character were not in the current code page.
Thanks.
?David Rosenberg <[email protected]>
2006 Aug 26 6:40 AM
Hi,
I`m not sure about the unicode conversion, but you can obtain the ascii values of a character..
Reward if helpful.
Rgds
2006 Aug 26 8:22 PM
Hello David
Have a look at the static methods of class <b>CL_ABAP_CONV_IN_CE</b>:
- UCCP: Returns a Character for a Unicode Code Point
- UCCPI: Returns a Character for a Unicode Code Point
Other classes that may be useful too at the interface unicode - non-unicode are:
- CL_ABAP_CONV_OUT_CE
- CL_ABAP_CONV_X2X_CE
Regards
Uwe
2006 Aug 26 11:34 PM
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |