From db7360b9afcc1aaf42939819c7814e1cf5ed18e2 Mon Sep 17 00:00:00 2001 From: jichenjc Date: Sun, 11 Dec 2016 21:47:42 +0800 Subject: [PATCH] Add document update for get console usage not set LC_ALL=en_US.UTF-8 might get some error like: (UnicodeEncodeError): 'ascii' codec can't encode character u'\ufffd' add document update to indicate this to user as this is user related. Change-Id: I9c39da5411b3080c46f557ba27ffa06a37086b7d Related-Bug: 1650051 --- api-ref/source/servers-action-console-output.inc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/api-ref/source/servers-action-console-output.inc b/api-ref/source/servers-action-console-output.inc index 44517a9c4af8..57d0f5e16af7 100644 --- a/api-ref/source/servers-action-console-output.inc +++ b/api-ref/source/servers-action-console-output.inc @@ -12,6 +12,9 @@ The content returned may be large. Limit the lines of console text, beginning at the tail of the content, by setting the optional ``length`` parameter in the request body. +The server to get console log from should set +``export LC_ALL=en_US.UTF-8`` in order to avoid incorrect unicode error. + Normal response codes: 200 Error response codes: unauthorized(401), forbidden(403),