Fix escaped unicode characters above 0x8000. Add tests for unicode strings.