# Degree sign Issue

**URL:** <https://techcommunity.softwareag.com/t/degree-sign-issue/174334>\
**Category:** Forum\
**Tags:** EDI\
**Created:** [February 6, 2014, 8:26pm UTC](https://techcommunity.softwareag.com/t/degree-sign-issue/174334 "2014-02-06T20:26:24Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Raju\_Jose](https://avatars.discourse-cdn.com/v4/letter/r/5f8ce5/32.png) [@Raju\_Jose](https://techcommunity.softwareag.com/u/Raju_Jose)\
**Post date:** [February 6, 2014, 8:26pm UTC](https://techcommunity.softwareag.com/t/degree-sign-issue/174334/1 "2014-02-06T20:26:24Z")

</div>

Hi All,  
We have an issue. The application is providing a text with Degree symbol and the partner expects same in the EDI document . But the Transaltor mapping as .

Source : SOLIDS CONTENT @ 20 °C / 68 °F

Target: SOLIDS CONTENT @ 20 Â°C / 68 Â°F

What I am understanding is : The degree sign (which is extended ascii code “167” ) is not supported by webMethods EDI since it is out of the range of basic ASCII (either 0-127 or 1-128, depending on if it is zero-based index). I think, because of this, we are seeing garbage characters in EDI.

Anybody got this issue before?

webMethods Release notes says :  
“ As required by the EDI standards supported by the webMethods EDI Module version 6.5.2, ASCII or a subset of ASCII character set is supported. Extended character sets may be used in X12 and UN/EDIFACT if communicating parties agree. Those extended character sets have not been specifically tested but should work reliably”

---

<div class="post-metadata">

**Author:** ![rmg](https://avatars.discourse-cdn.com/v4/letter/r/278dde/32.png) [@rmg](https://techcommunity.softwareag.com/u/rmg)\
**Post date:** [February 6, 2014, 10:13pm UTC](https://techcommunity.softwareag.com/t/degree-sign-issue/174334/2 "2014-02-06T22:13:11Z")

</div>

Yes that is what happening and so you may need to replace that hex chars totally from the output and out of box there is no fix provided by SAG EDI module to deal those spl garbage chars as far I know.

HTH,  
RMG

---

<div class="post-metadata">

**Author:** ![Tong\_Wang](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/tong_wang/32/410_2.png) [@Tong\_Wang](https://techcommunity.softwareag.com/u/Tong_Wang)\
**Post date:** [February 7, 2014, 4:38pm UTC](https://techcommunity.softwareag.com/t/degree-sign-issue/174334/3 "2014-02-07T16:38:40Z")

</div>

which Transaltor are you referring to?  
The key here is the encoding that is used in the original system, in WM, and in your Translator.  
If you use UTF-8 encoding in all systems, there shouldn’t be any issue.

---

<div class="post-metadata">

**Author:** ![rmg](https://avatars.discourse-cdn.com/v4/letter/r/278dde/32.png) [@rmg](https://techcommunity.softwareag.com/u/rmg)\
**Post date:** [February 7, 2014, 5:13pm UTC](https://techcommunity.softwareag.com/t/degree-sign-issue/174334/4 "2014-02-07T17:13:12Z")

</div>

I saw this issue with UTF-8 also…How do you set this in wM EDI side encoding normally?

---

<div class="post-metadata">

**Author:** ![Tong\_Wang](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/tong_wang/32/410_2.png) [@Tong\_Wang](https://techcommunity.softwareag.com/u/Tong_Wang)\
**Post date:** [February 7, 2014, 5:51pm UTC](https://techcommunity.softwareag.com/t/degree-sign-issue/174334/5 "2014-02-07T17:51:00Z")

</div>

If you consistently use UTF-8, and display it as UTF-8, it will work. There is no config in WM EDI, if you use AS2, the encoding is defined in the Content type setting for the content part.

if you see: Â°F  
that means you are displaying a UTF-8 encoded string as ISO-8859-1 encoding.

Reason:  
the Hex for degree sign in UTF-8 is: C2 B0  
in ISO-8859-1: B0  
and in ISO-8859-1, C2 is Â

BTW, basic ASCII doesn’t support degree sign. If you have a degree sign, you are most likely using UTF-8 or ISO-8859-1 encoding.

---

<div class="post-metadata">

**Author:** ![rmg](https://avatars.discourse-cdn.com/v4/letter/r/278dde/32.png) [@rmg](https://techcommunity.softwareag.com/u/rmg)\
**Post date:** [February 7, 2014, 7:13pm UTC](https://techcommunity.softwareag.com/t/degree-sign-issue/174334/6 "2014-02-07T19:13:40Z")

</div>

ok good notes:

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/techcommunity/original/3X/c/d/cd19967bb605d28a72d77eb83a1cae22f3df2eb8.svg) [@system](https://techcommunity.softwareag.com/u/system)\
**Post date:** [April 2, 2021, 3:30pm UTC](https://techcommunity.softwareag.com/t/degree-sign-issue/174334/7 "2021-04-02T15:30:17Z")

</div>

Closed on April 2, 2021, 3:30pm UTC


