Topic
  • 3 replies
  • Latest Post - ‏2017-03-15T20:34:56Z by Daviiid
Daviiid
Daviiid
22 Posts

Pinned topic Convert A4 hex

‏2016-11-28T10:53:57Z |

Hello

I have single char in a MqQueue. This is A4 hex char (CCSID : 819)

Why is it impossible to convert it in 923 CCSID ? 

A4 exist in 819 and 923 codePage

Thanks :-)

  • fjb_saper
    fjb_saper
    159 Posts

    Re: Convert A4 hex

    ‏2017-01-02T15:47:15Z  

    The fact that they both exist does not mean they have the same value or meaning.

    In CCSID 819 A4 is described as "International currency symbol".

    In CCSID 923 A4 is described as the "Euro currency symbol"

    AFAIK CCSD 819 does not support the Euro currency symbol.

    May be you should work with UTF-8 ??

  • Daviiid
    Daviiid
    22 Posts

    Re: Convert A4 hex

    ‏2017-01-02T15:59:18Z  

    hello 

    thanks for reply

    I see that on unix, the MQ convert use iconv function. And iconv does not convert 'A4' hex from 819 to 923. The result is a unconvertable caracter (hex 1A)

    If you see this table http://ascii-table.com/codepage.php?923, you can observ that 'A4' is not 'A4' but '20AC'

    Definitly A4 does not exist in 923 code page

  • Daviiid
    Daviiid
    22 Posts

    Re: Convert A4 hex

    ‏2017-03-15T20:34:56Z  
    This reply was deleted by soaApiDevArch 2017-03-17T14:48:44Z. Reason for deletion: Do not want to distract the thread. Go clear understanding on the issue.

    My message is just a single char  representing A4 in hexdecimal with CCSID 819.

    As fjb_saper said : "In CCSID 819 A4 is described as "International currency symbol".

    But as i said too, convert A4 from 819 to 923 is impossible.