fixed encoding bug in test resource for NLS