[OE-core] [PATCH 3/3] libxml2-ptest: set LC_ALL=en_US.UTF-8

Juro Bystricky juro.bystricky at intel.com
Mon Sep 25 23:33:46 UTC 2017


We need to specify UTF-8 in the environment to avoid an error
such as:

UnicodeEncodeError: 'ascii' codec can't encode character '\xe4'

Signed-off-by: Juro Bystricky <juro.bystricky at intel.com>
---
 meta/recipes-core/libxml/libxml2/run-ptest | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/recipes-core/libxml/libxml2/run-ptest b/meta/recipes-core/libxml/libxml2/run-ptest
index 473d0b6..c313d83 100644
--- a/meta/recipes-core/libxml/libxml2/run-ptest
+++ b/meta/recipes-core/libxml/libxml2/run-ptest
@@ -1,3 +1,4 @@
 #!/bin/sh
 
+export LC_ALL=en_US.UTF-8
 make -k runtests
-- 
2.7.4




More information about the Openembedded-core mailing list