[Development] Prettier printing of Unicode strings
Thiago Macieira
thiago.macieira at intel.com
Mon Jan 27 09:57:21 CET 2014
On segunda-feira, 27 de janeiro de 2014 08:06:58, Knoll Lars wrote:
> >With my change as it is, you'd see:
> >Actual (s1): Thiago Jos\u00E9 Macieira / Lars Knoll
> >Expected (s2): Thiago Jose\u0301 Macieira \u2215 L\u0430rs Knoll
>
> I know that, but we’re usually not writing our auto tests to try and
> trick someone. Just saying that for many use cases utf8 output makes the
> issue easier to spot. How about an environment variable to turn off
> escaping?
We're also not generating UTF-8 output to be read out as regular text. This is
the result of a failed comparison, in which case IMO clearly highlighting the
differences is more important.
I can add the environment variable, but I'd like to leave the default as full
escaping.
--
Thiago Macieira - thiago.macieira (AT) intel.com
Software Architect - Intel Open Source Technology Center
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.qt-project.org/pipermail/development/attachments/20140127/a93f837b/attachment.sig>
More information about the Development
mailing list