crs4 / hl7apy

Python library to parse, create and handle HL7 v2 messages.
http://crs4.github.io/hl7apy/
MIT License
231 stars 91 forks source link

make char_encoding for MLLPRequestHandler configurable #83

Open schaechtelchen opened 4 years ago

schaechtelchen commented 4 years ago

make char_encoding for MLLPRequestHandler configurable while keeping default to utf-8

schaechtelchen commented 4 years ago

The travis failing doesn't seem to be correlated with my commit:

File "/home/travis/build/crs4/hl7apy/hl7apy/exceptions.py", line 270, in hl7apy.exceptions.InvalidDateOffset Failed example: DTM(value='20131010', out_format="%Y%m%d", offset='+1300') # doctest: +IGNORE_EXCEPTION_DETAIL Expected: InvalidDateOffset: Invalid date offset: +1300 Got: <hl7apy.base_datatypes.DTM object at 0x7f49c3d1b9b0>