Locales in Ubuntu/Debian for Universe

There is an old skool multi-relational database call Universe, which is now owned by IBM. They have some proprietary java classes that you can use for database access (their own API, not some standard one) called Universe Objects, or uvobjects. Anyway, I have some java apps deployed in tomcat that use this. With the locale set to a sensible UTF8, uvobjects doesn't read or write to the database properly, no errors, just broken data.... grrr.... To get it to work in Ubuntu/Debian you must do the following: