[Spacewalk-list] UTF8 Character encoding (Oracle)

Eric linux_4_u at yahoo.com
Fri Mar 5 14:26:42 UTC 2010


Hello,

I was able to install all the packages needed via YUM to install and setup Spacewalk 0.8.
However, I just found out that our Database is not UTF-8 encoded, but WE8MSWIN1252.

What are the implications of bypassing that check in the spacewalk-setup? It is my understanding
that some characters may get garbled, but I expect most of them to be 7bit ascii characters.

Also there should be some note that the db_password cannot contain a '#' or they will be truncated.
It took me awhile to figure out that the database password was getting truncated in 
/usr/share/rhn/common/rhnConfig.py (spacewalk 0.8) around Line 483.

# Strip out any comments.
i = string.find(line, '#')
if i == 0:
    return (None, None)
line = string.strip(line)
if not line:
    return (None, None)

I would fix the code but I am a complete novice when it comes to writing Python code.

Thanks in advance,

-Eric



      




More information about the Spacewalk-list mailing list