Univention Bugzilla – Attachment 6914 Details for
Bug 27283
Some UMC tracebacks are wrong encoded in UTF8 (errors are ISO8859-1)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch
27283-2.patch (text/plain), 1.52 KB, created by
Florian Best
on 2015-05-20 14:22:45 CEST
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Florian Best
Created:
2015-05-20 14:22:45 CEST
Size:
1.52 KB
patch
obsolete
>diff --git a/ucs-4.0-2/management/univention-management-console/scripts/univention-management-console-module b/ucs-4.0-2/management/univention-management-console/scripts/univention-management-console-module >index 502f739..2ae80b8 100644 >--- a/ucs-4.0-2/management/univention-management-console/scripts/univention-management-console-module >+++ b/ucs-4.0-2/management/univention-management-console/scripts/univention-management-console-module >@@ -95,6 +95,7 @@ if __name__ == '__main__': > try: > locale_obj = Locale( options.language ) > locale.setlocale( locale.LC_MESSAGES, str( locale_obj ) ) >+ locale.setlocale(locale.LC_CTYPE, str(locale_obj)) > localeok = True > translation = Translation('univention-management-console') > translation.set_language(options.language) >diff --git a/ucs-4.0-2/management/univention-management-console/scripts/univention-management-console-server b/ucs-4.0-2/management/univention-management-console/scripts/univention-management-console-server >index 250956e..e9a14d8 100755 >--- a/ucs-4.0-2/management/univention-management-console/scripts/univention-management-console-server >+++ b/ucs-4.0-2/management/univention-management-console/scripts/univention-management-console-server >@@ -119,6 +119,7 @@ class UMC_Daemon( DaemonRunner ): > # set locale > try: > locale.setlocale( locale.LC_MESSAGES, locale.normalize( self.options.language ) ) >+ locale.setlocale(locale.LC_CTYPE, locale.normalize(self.options.language)) > except: > CORE.process( 'Specified locale is not available (%s)' % self.options.language ) >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 27283
: 6914