Hi Paulo -
Why would you spend your time encoding it? Since HAPI is written in Java
and all strings are in Unicode and the reading and writing of bytes should
be handled for you at
http://hl7api.sourceforge.net/xref/ca/uhn/hl7v2/llp/ExtendedMinLLPReader.htmland
http://hl7api.sourceforge.net/xref/ca/uhn/hl7v2/llp/ExtendedMinLLPWriter.html I
cannot understand what you are trying to achieve, except if
your receiving or sending 3.party system does not respect or use the MSH-18.
2012/11/13 Paulo Ferreira <ferreira.rob...@gmail.com>
> Thanks Jens,
> This field *just identifies* the message encoding, but my question was if
> there is anyway in HAPI to execute an encoding.
> I have already a java Class which browse a message and *encode it*. I was
> just wondering if HAPI had something similar.
>
> Cheers,
> Paulo Ferreira.
>
> On 12 November 2012 21:09, Jens Villadsen <jenskristianvillad...@gmail.com
> > wrote:
>
>> Hi Paulo -
>>
>> I think you need to check out the MSH-18 field. That should explain it
>> for you
>>
>>
>> On 12 November 2012 18:59, Paulo Ferreira <ferreira.rob...@gmail.com>wrote:
>>
>>> Hello all,
>>>
>>> I'm wondering if HAPI have some way to encode/decode (hexadecimal).
>>> For instance, I am from Portugal and our language have some special
>>> characters like: â, ç, õ, etc:
>>>
>>> *NOT CODED*: "O João encontra-se de péssima saúde"
>>> *CODED*: "O Jo\xE3\o encontra-se de p\xE9\ssima sa\xFA \de"
>>>
>>> Cheers,
>>> Paulo Ferreira.
>>>
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> Everyone hates slow websites. So do we.
>>> Make your web apps faster with AppDynamics
>>> Download AppDynamics Lite for free today:
>>> http://p.sf.net/sfu/appdyn_d2d_nov
>>> _______________________________________________
>>> Hl7api-devel mailing list
>>> Hl7api-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/hl7api-devel
>>>
>>>
>>
>>
>> --
>>
>> Med venlig hilsen / Kind regards
>>
>> *Jens Kristian Villadsen*
>> cand.polyt
>>
>> Kantorvænget nr. 161
>> 8240 Risskov
>> Denmark
>>
>> Mobile +4523373806
>> jenskristianvillad...@gmail.com
>> jkiddo.dyndns.org
>>
>>
>
>
> ------------------------------------------------------------------------------
> Monitor your physical, virtual and cloud infrastructure from a single
> web console. Get in-depth insight into apps, servers, databases, vmware,
> SAP, cloud infrastructure, etc. Download 30-day Free Trial.
> Pricing starts from $795 for 25 servers or applications!
> http://p.sf.net/sfu/zoho_dev2dev_nov
> _______________________________________________
> Hl7api-devel mailing list
> Hl7api-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/hl7api-devel
>
>
--
Med venlig hilsen / Kind regards
Jens Kristian Villadsen
cand.polyt
Systemudvikler / System developer
IM (Skype): j.kidd.o
Cetrea A/S, Denmark
phone : +45 38 40 05 81
address: Brendstrupgårdsvej 21F, DK-8200 Aarhus N.
e-mail : j...@cetrea.com
w^3 : http://www.cetrea.com/
------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
Hl7api-devel mailing list
Hl7api-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hl7api-devel