cancel
Showing results for 
Search instead for 
Did you mean: 

spl chars

Former Member
0 Kudos

Hi,

I using JMS sender in which i m putting text data in the que, then the data is entered to que and scenario is working fine.

But when I am putting some greece country characters in the text file, que is not able to read the file and the scenario is not working.

Plz let me know what extra conf I have to do.

Thanks,

Anil.

Accepted Solutions (1)

Accepted Solutions (1)

stefan_grube
Active Contributor
0 Kudos

But when I am putting some greece country characters in the text file, que is not able to read the file and the scenario is not working.

Plz let me know what extra conf I have to do.

Figure out the correct hex values of the greek characters according to the used code page.

Don't do this with Notepad!

Stefan

Former Member
0 Kudos

Hi Stefan,

Please clarify why giving hex codes for the greecechars.

I want XI to read the greece chars as it is.

Regards,

Satish.

stefan_grube
Active Contributor
0 Kudos

I want XI to read the greece chars as it is.

There are no greek characters "as is".

The codes of the greek characters depend on the used encoding.

If the encoding is UTF-8, then the hex code is different as in ISO 8859-7

Maybe you fist read some principles about encodings:

http://en.wikipedia.org/wiki/ISO_8859

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

So first figure out, what encoding your document should have and which characters (hex code) you really have to put into the file.

Regards

Stefan

Former Member
0 Kudos

Hi Satish,

Stefan is Right.

Or you can approach like this:

while saving the input text file, give the encoding type as

UTF-8, you will get this option if you click on "Save As".

Hope this will work for you.

thanks,

Ravi.

Answers (4)

Answers (4)

GabrielSagaya
Active Contributor
0 Kudos

Instead of using UTF-8 encoding You can use ISO-8859-5 encoding standard for using greek spl characters.

For that you can use xslt mapping

<xsl:stylesheet version="1.0"

xmlns:xsl="http://www.w3.org/1999/XSL/Transform">

<xsl:output method="xml" encoding="ISO-8859-5"/>

<xsl:template match="/">

<xsl:copy-of select="*" />

</xsl:template>

</xsl:stylesheet>

How to Work with Character Encodings in Process Integration (NW7.0)

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/502991a2-45d9-2910-d99f-8aba5d79...

former_member537867
Active Contributor
0 Kudos

Hi Satish,

Refer these blogs and threads mayhelp u:

/people/william.li/blog/2006/11/13/how-to-use-saps-webas-j2ees-jms-queue-in-exchange-infrastructure

/people/venkataramanan.parameswaran/blog/2007/01/18/syncasync-communication-in-jms-adapter-without-bpm-sp19

/people/sudheer.babu2/blog/2007/01/18/asyncsync-communication-using-jms-adapter-without-bpm-sp-19

/people/kan.th/blog/2007/02/05/exploring-jms-and-sap-xi-jms-adaper

http://help.sap.com/saphelp_nw04/helpdata/en/ca/e7673c86d19b35e10000000a11402f/frameset.htm

m

document on JMS Adapter content conversion is available at service market place. check this link..

http://service.sap.com/~form/sapnet?_SHORTKEY=01200252310000071155& -> How To Use the Content Conversion Module in JMS Adapter

Content Conversion Module in JMS Adapter - https://websmp106.sap-ag.de/~form/sapnet?_SHORTKEY=01100035870000582377&;

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/50061bd9-e56e-2910-3495-c5faa652...

content conversion

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/f02d12a7-0201-0010-5780-8bf...

SAP help-

http://help.sap.com/saphelp_nw2004s/helpdata/en/cd/d85a9d6fab7d4dbb7ae421f710626c/content.htm

Regards,

Vinod.

Former Member
0 Kudos

Hi

For JMS adapter you have to refer to the adapter module

localejbs/AF_Modules/MessageTransformBean -


> here the parameter

Transform.ContentType --- text/plain;charset=utf-8

Indicates the File endcoding parameters similar to File adapter. for special chars you can give the conversion attributes here

Thanks

Swarup

Former Member
0 Kudos

hi sateesh

check the below blog

Handling the Special Characters in XI

https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/9420 [original link is broken] [original link is broken] [original link is broken]

regards

chandra