ruby_astm 1.3.0 → 1.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/ruby_astm/lab_interface.rb +2 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2d0ca7efebc513483bc39a26ce3edb98872ecabfef6790000e6b61a25586a7a9
|
4
|
+
data.tar.gz: f3c8edd01acc93d105a0813cb32d93bed8f4d70c0d1ed3d43f653ea70cff9448
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 79c567529d38f41a49c38dc86a94133abbe953f74914ca5e5fdae79d7a9a96a9ba8ab6f843039bac5d960bd9c4e7a54a87e12c0842e91e7085495a877ae2cf03
|
7
|
+
data.tar.gz: d4bccb3a56a699fdff7def93f556aa5d1bb95cea39e38d5e05e1812b9d8b38f83277f75d14a4ac028a8b3d527ec9789de95d927b95e4b263e451520203be48b5
|
@@ -257,6 +257,8 @@ module LabInterface
|
|
257
257
|
#end
|
258
258
|
## send the header
|
259
259
|
#puts "--------- SENT ACK -----------"
|
260
|
+
## strip non utf 8 characters from it.
|
261
|
+
self.data_buffer.encode('UTF-8', 'binary', invalid: :replace, undef: :replace, replace: '')
|
260
262
|
if self.data_buffer =~ /MSH\|/
|
261
263
|
#puts " -------------- HEADERS ARE BLANK WITH HL7, sending ack. ------------ "
|
262
264
|
process_text(self.data_buffer)
|