[BlueOnyx:15090] Re: [SPAM] Re: YUM updates for 5106R/5107R/5108R
Michael Stauber
mstauber at blueonyx.it
Fri Apr 4 16:00:38 -05 2014
Hi Hisao,
> We need to add same function on perl module for handler.
> FullName is written in /etc/password.
I think we're already good on this.
This is from my /etc/passwd. The user was created before the latest
updates were installed. At that time the encoding was still EUC-JP for
the Japanese GUI:
akira:x:502:501:������:/home/.sites/28/site1/.users/134/akira:/bin/badsh
After the update has been installed, I saved the user. The new
/etc/passwd for him then looked correct:
akira:x:502:501:アキラ:/home/.sites/28/site1/.users/134/akira:/bin/badsh
That's because with UTF-8 encoding for Japanese the full name got stored
in UTF-8 back into CODB. And the Perl handler wrote it off as UTF-8.
So /etc/passwd for users that were created when the GUI was still in
EUC-JP for Japanese will have a garbled full name in /etc/passwd. Until
the next time that the user is updated via the GUI. Then it'll be fixed
by itself.
I could create a one time constructor that walks through all users and
(if need be) converts the full name from EUC-JP to UTF-8. Which would
fix the problem. But that's a lot of work for something that creates no
functional value.
--
With best regards
Michael Stauber
More information about the Blueonyx
mailing list