Client side character encoding test