Special characters in ee site create fails database creation. (æøå)

ee site create fails during install if you install a WP site and the domain name has IDN character. (Nordic)

Example: ee site create nød.no --wp

ee site create nød.no --wp
Running pre-update checks, please wait...
Setting up NGINX configuration 	[Done]
Setting up webroot 		[Done]
Downloading WordPress 		[Done]
Setting up database		Oops Something went wrong !!
Calling cleanup actions ...
'ee_mysql_grant_host'

Anyone have any tips on how to fix this ?

Solution to Easyengine Norwegian/Swedish/Danish Characters failling to create database on site create.

Convert domain to punycode first with;

Works like a charm.