Status: Accepted
Owner: pekka.klarck
Labels: Type-Enhancement Priority-High Target-2.8.2
New issue 1524 by pekka.klarck: Support for creating characters using
`\xhh`, `\uhhhh`, `\Uhhhhhhhh`, and `\N{name}` escapes in test data
http://code.google.com/p/robotframework/issues/detail?id=1524
These escapes allow creating characters that are hard to create and show in
the test data. The main usages are:
1) Create "invisible" characters such as the null byte `\x00`.
2) Create Unicode characters that cannot be shown, for example, due to
correct glyph being missing from the environment.
3) Using non-ASCII test data but keeping source files in ASCII.
The supported escapes have the same semantics as the same escapes in Python
[1] and in various other programming languages. In practice the following
five values would be equal to each others:
รค
\xe4
\u00e4
\U000000e4
\N{LATIN SMALL LETTER A WITH DIAERESIS}
[1] http://docs.python.org/2/reference/lexical_analysis.html#string-literals
--
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.