Univention Bugzilla – Attachment 3568 Details for
Bug 20660
Umlaute in Horde-Identität nicht möglich
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
horde_recode_identities_to_latin1
horde_recode_identities_to_latin1.patch (text/plain), 866 bytes, created by
Tobias Scherer
on 2011-09-27 12:13 CEST
(
hide
)
Description:
horde_recode_identities_to_latin1
Filename:
MIME Type:
Creator:
Tobias Scherer
Created:
2011-09-27 12:13 CEST
Size:
866 bytes
patch
obsolete
>Index: horde-prefs.py >=================================================================== >--- horde-prefs.py.orig 2010-11-18 17:53:47.000000000 +0100 >+++ horde-prefs.py 2010-11-18 17:54:17.000000000 +0100 >@@ -42,7 +42,8 @@ > > > def __create_db_identity( mail, fullname, from_addr, alternative_mails ): >- name = 'Default Identity' >+ name = u'Standardidentität'.encode('latin1') >+ fullname = (u'%s'% fullname).encode('latin1') > count = 1 > res = 'i:0;a:4:{s:2:\"id\";s:%d:\"%s\";s:8:\"fullname\";s:%d:\"%s\";s:9:\"from_addr\";s:%d:\"%s\";s:16:\"default_identity\";s:1:\"1\";}' % \ > ( len( name ), name, len( fullname ), fullname, len( from_addr ), from_addr) >@@ -51,7 +52,7 @@ > continue > if i.find('@') == -1: > continue >- name = i.split('@')[0] >+ name = (u'%s' % i.split('@')[0]).encode('latin1') > if len(name) < 1: > continue > if len(name) == 1:
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
Actions:
View
|
Diff
Attachments on
bug 20660
: 3568