Bug 62382
Summary: | International characters trunc Full Name field | ||
---|---|---|---|
Product: | [Retired] Red Hat Public Beta | Reporter: | Josi Romildo Malaquias <romildo> |
Component: | redhat-config-users | Assignee: | Brent Fox <bfox> |
Status: | CLOSED RAWHIDE | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | skipjack-beta1 | ||
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i386 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2002-04-03 22:12:59 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Josi Romildo Malaquias
2002-03-30 22:14:47 UTC
Hmmm...I don't see any non-ASCII chars in "Josi Romildo Malaquias", or perhaps Mozilla isn't displaying them correctly. What chars are supposed to be non-ASCII? Maybe Mozilla did not sent it correctly when entered the bug. The non-ASCII character I am referring to is the fourth character of my full name. It is the vogal e with an acute accent: i (and Mozilla turned it into an i I do not know why). redhat-config-users just shows me the first 3 letters of my full name. Ok, thanks. Now I have a better idea of how to reproduce it. Ok, I can reproduce the problem, but I'm not sure if I can do much about it. The problem is that anaconda is in GTK1.2, so it doesn't know anything about UTF-8 encoding, so it just writes the string to /etc/passwd just the way you typed it in. However, redhat-config-users is now ported to GTK2, which expects UTF-8 encoding. When it sees input that isn't UTF-8 encoded, it doesn't know what to do so it throws away the character that it doesn't understand and the rest of the string goes with it. I will look into this some more, but I'm afraid to make changes that might break other languages (like cyrillic based langs). Ok, I think I've found a reasonable fix for this problem. When I read in the user's full name, I convert it to unicode so that gtk2 can understand it. Then, when I write the name out, I convert it from unicode back into iso-8859-1. This should fix the problem. Please test redhat-config-users-1.0-10.noarch.rpm when it appears in Rawhide and make sure that this works for you. If it doesn't fix the problem, please reopen this bug report. Correction...try redhat-config-users-1.0-12.noarch.rpm Commit pushed to master at https://github.com/openshift/origin https://github.com/openshift/origin/commit/22c8c284b013756bd2b2085827fbb8dc85f291d4 Merge pull request #19672 from soltysh/issue62382 UPSTREAM: 63650: Never clean backoff in job controller |