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

Unicode question (# in file)

Former Member
0 Likes
796

Hi,

I am uploading a file with GUI_UPLOAD and downloading this file again on the SAP Server with OPEN DATASET IN BINARY MODE / TRANSFER / CLOSEDATA SET on a UNICODE system.

When I look in AL11 to the downloaded file I see a lot of # (#<#?#x#m#l# #v#e#r#s#i#o#n#=#"#1#.#0#"#?#>#<#L#I#S#T# ...) (In HEX it shows 00)

I have to do some conversions with this file, but the # will still be in the file.

How can I get rid of these signs??

Ron

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
719

Hello Ron,

The hash/pound signs (#) that you see are just the way that special characters (like tabs) are displayed in the SAP GUI (as it does not cater for all special characters).

Before you do anything else, just take a look at the file on the server (I assume you are running on some UNIX variant). Telnet to the server, and display the file using cat or more or vi. Better yet, ftp the file back to your workstation and open it to see if any harmful conversion occurred when you transferred it to the server.

Cheers,

Martin

5 REPLIES 5
Read only

Former Member
0 Likes
720

Hello Ron,

The hash/pound signs (#) that you see are just the way that special characters (like tabs) are displayed in the SAP GUI (as it does not cater for all special characters).

Before you do anything else, just take a look at the file on the server (I assume you are running on some UNIX variant). Telnet to the server, and display the file using cat or more or vi. Better yet, ftp the file back to your workstation and open it to see if any harmful conversion occurred when you transferred it to the server.

Cheers,

Martin

Read only

eddy_declercq
Active Contributor
0 Likes
719

Strange. We had a problem with the special chars which turned to #.

Check note #825036 Unicode characters in HTTP form fields

Set the parameter:

ict/unescape_no_utf8 = 1

and:

ict/escape_url_no_utf8 = 1

Although I don't see why you should insert special chars in your XML, this can maybe also help for your problem.

Read only

0 Likes
719

Hi,

I don't insert these characters myself.

I think these characters are inserted by SAP because I'm working on a unicode system (WAS 6.40 XI)

Ron

Read only

0 Likes
719

So the application of the two extra params didn't change anything?

Read only

0 Likes
719

According to the note these params are not applicable on a unicode system and I'm working on a unicode system!

Ron