Status: Accepted
Owner: ----
Labels: Target-2.8.2 Type-Defect Priority-Medium
New issue 1526 by pekka.klarck: Characters outside the Unicode Basic
Multilingual Plane are not shown correctly in outputs
http://code.google.com/p/robotframework/issues/detail?id=1526
We currently escape non-ASCII characters in log, report, and other outputs
using format `\uXXXX`. This works fine with characters on the Basic
Multilingual Plane (BMP), but characters outside of it are escaped
incorrectly.
This isn't a problem with any spoken language, but there are special
symbols etc. that cannot be shown correctly. This is a problem if such
symbols are needed in testing. We noticed this issue when testing how
characters written in the test data using the new `\Uxxxxxxxx` escape
mechanism (issue 1524) look like in the browser.
It seems that the easiest solution to this issue is that instead of trying
to escape all non-ASCII characters, we simply encode all the text written
to outputs as UTF-8. In addition to fixing the problem with the characters
outside the BMP, this approach seems to have better performance and create
smaller outputs than the old one. How big these other enhancements are
needs to be tested separately. We also need to test does the new approach
work with all our supported browsers in general.
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
--
---
You received this message because you are subscribed to the Google Groups "robotframework-commit" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to robotframework-commit+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.