Bugfix for unicode strings
Bugfixes in locu wrapper