Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

need help about UTF8 and Code Pages

Former Member
0 Likes
13,705

Hi Experts,

I am downloading a file in UTF8 to application server. But when I am debugging, the internal table(line type char256) is with code page 4021 asshown by the debugger.

I am bit confused as to differentiate between UTF8 and the code page, frankly speaking I dont have much idea about UTF8 and code pages.

Could You please provide me any link or something to make a sound knowledge about this.

Please suggest

Thanks

Akash

2 REPLIES 2
Read only

nils_buerckel
Product and Topic Expert
Product and Topic Expert
0 Likes
6,086

Hi Akash,

in SAP there are basically 3 important Unicode encoding formats:

UTF-8 (SAP number 4110)

UTF-16BE (SAP number 4102)

UTF-16LE (SAP number 4103)

On the application server side, utf-16 format is used (which one depends on the endianess of the CPU - please have a look at SAP note 552464).

On the SAPGUI for Windows side, utf-8 is used (in case of a Unicode system).

UTF-8 is backwards compatible with ASCII - meaning that the encoding of the plain English characters is the same.

UTF-8 is a variable format - one character can be represented by 1, 2, 3 or even 4 Hex Bytes.

Please also have a look at:

http://en.wikipedia.org/wiki/UTF-8

Best regards,

Nils Buerckel

SAP AG

Read only

Former Member
0 Likes
6,086

The third party was having a Oracle-Loader problem. Change the file format to pipe-delimited!!