The minimal patch for CORE-1604 (Error at database creation by user with non-ascii name) and CORE-3243 (CURRENT_USER and MON$USER don't work properly) that seems to work for the trusted authentication, but [at least] the legacy auth module has to be reviewed as it seems to deal with the user name "as is", without checking whether it arrived in UTF8 or not.

git-svn-id: svn+ssh://svn.code.sf.net/p/firebird/code/firebird/trunk@57829 65644016-39b1-43b1-bf79-96bc8fe82c15