Summary: | Can't we support non ASCII user name to login in ? | ||
---|---|---|---|
Product: | [Unmaintained] kdelibs | Reporter: | 潘卫平 <wppan> |
Component: | general | Assignee: | kdelibs bugs <kdelibs-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | cfeck, grundleborg, lemma, mumismo, thiago |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: |
supporting non ASCII user name to login in
supporting non ASCII user name to login in |
Description
潘卫平
2008-10-11 07:05:41 UTC
Created attachment 27843 [details]
supporting non ASCII user name to login in
apply to kdelibs/kinit/
Created attachment 27844 [details]
supporting non ASCII user name to login in
apply to /kdebase/workspace/kstartupconfig
I don't see how those parches can help solve this bug. The username should actually work fine. Please try setting the correct locale before launching kdm and check if your /etc/passwd file has the name with the right encoding as well. hmm, this is actually a bit different than i gathered from skimming over it ... but at some place it *is* an encoding problem - somewhere in kdelibs or qt, possibly only due to some variable not being set, so the michael's comment might be relevant, even if not directly. anyway, chinese login names are no particularly good idea. these are system-level identifiers. non-ascii is almost as sensible as embedded spaces. you can expect more things to break when least expected. Moving this bug to kdelibs, since it is a more appropriate place, so more likely to get attention there. some patches related to charset conversion (iconv) initialization have gone into both qt and kde recently. thiago, could this problem be fixed now? Yes, it's fixed. But this problem only existed in the Qt 4.5 pre-releases. This problem did not exist in Qt 4.4. What is the status of this bug? Do the patches from comment #1 and comment #2 still need to be applied? Thanks. i think this can be closed ... |