Fix prefixed databases with unicode prefix