Univention Bugzilla – Full Text Bug Listing |
Summary: | univention-connector-list-rejected output encoding | ||
---|---|---|---|
Product: | UCS | Reporter: | Janis Meybohm <meybohm> |
Component: | AD Connector | Assignee: | Connector maintainers <connector-maintainers> |
Status: | RESOLVED WONTFIX | QA Contact: | |
Severity: | normal | ||
Priority: | P5 | CC: | botner, gohmann, requate |
Version: | UCS 2.4 | Flags: | requate:
Patch_Available+
|
Target Milestone: | UCS 3.2-x | ||
Hardware: | Other | ||
OS: | Linux | ||
See Also: | https://forge.univention.org/bugzilla/show_bug.cgi?id=35504 | ||
What kind of report is it?: | --- | What type of bug is this?: | --- |
Who will be affected by this bug?: | --- | How will those affected feel about the bug?: | --- |
User Pain: | Enterprise Customer affected?: | ||
School Customer affected?: | ISV affected?: | ||
Waiting Support: | Flags outvoted (downgraded) after PO Review: | ||
Ticket number: | Bug group (optional): | Internationalization | |
Max CVSS v3 score: | |||
Bug Depends on: | |||
Bug Blocks: | 35504, 45779 | ||
Attachments: |
encode utf8
encoding.patch |
Description
Janis Meybohm
2011-08-15 08:53:05 CEST
Bzw. gibt da da auch Tracebacks: Traceback (most recent call last): File "/usr/sbin/univention-connector-list-rejected", line 168, in ? main() File "/usr/sbin/univention-connector-list-rejected", line 159, in main print "%s" % univention.connector.ad.encode_attrib(dn).encode('latin') UnicodeEncodeError: 'latin-1' codec can't encode character u'\u2019' in position 27: ordinal not in range(256) Created attachment 3841 [details]
encode utf8
So bekommt man (zumindest mit einer UTF-8 Shell) deutlich bessere Ergebnisse und keinen Traceback.
Das tritt z.B. bei einem französischem AD auf. Betroffen ist neben univention-connector-list-rejected auch univention-adsearch. *** Bug 35504 has been marked as a duplicate of this bug. *** Created attachment 6027 [details]
encoding.patch
This issue has been filed against UCS 2.4. UCS 2.4 is out of maintenance and many UCS components have vastly changed in later releases. Thus, this issue is now being closed. If this issue still occurs in newer UCS versions, please use "Clone this bug". In this case please provide detailed information on how this issue is affecting you. |