← Back to team overview

openstack team mailing list archive

Re: Nova string encoding

 

On Mon, Feb 13, 2012 at 5:25 PM, Andrew Bogott <abogott@xxxxxxxxxxxxx> wrote:
> I am investigating this bug:  https://bugs.launchpad.net/horizon/+bug/931667
>
> I've started by passing various silly usernames into '$nova-manage create
> user' and immediately discovered that, for the user name at least, nova
> presumes that commandline args are in ascii rather than in utf-8.  That
> seems wrong!
>
> Is there a policy document anyplace describing what encodings should be used
> in Nova?  If not, do we need one?  Otherwise, anytime we pull something off
> of the commandline or out of the database, we don't really know what we're
> getting.
>
> -Andrew

Very recently, a change got in that converts all tables (except 1) to
utf8 encoding, for the mysql engine. I manually tested creating
servers with unicode names and with unicode metadata, and it worked
fine. Make sure you are running against the latest code.
-Naveed


Follow ups

References