mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Require UTF-8 fs encoding
http://blog.dscpl.com.au/2014/09/setting-lang-and-lcall-when-using.html https://pagure.io/freeipa/issue/5887 Signed-off-by: Christian Heimes <cheimes@redhat.com> Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com>
This commit is contained in:
@@ -452,6 +452,18 @@ class EnvironmentError(PublicError):
|
||||
|
||||
errno = 912
|
||||
|
||||
|
||||
class SystemEncodingError(PublicError):
|
||||
"""
|
||||
**913** Raised when system encoding is not UTF-8
|
||||
"""
|
||||
|
||||
errno = 913
|
||||
format = _(
|
||||
"System encoding must be UTF-8, '%(encoding)s' is not supported. "
|
||||
"Set LC_ALL=\"C.UTF-8\", or LC_ALL=\"\" and LC_CTYPE=\"C.UTF-8\"."
|
||||
)
|
||||
|
||||
##############################################################################
|
||||
# 1000 - 1999: Authentication errors
|
||||
class AuthenticationError(PublicError):
|
||||
|
||||
Reference in New Issue
Block a user