From: duerst@...
Date: 2016-05-24T08:26:49+00:00
Subject: [ruby-core:75701] [Ruby trunk Feature#12419] Improve String#dump for Unicode output (from "\u{130}" to "\u0130")

Issue #12419 has been reported by Martin D��rst.

----------------------------------------
Feature #12419: Improve String#dump for Unicode output (from "\u{130}" to "\u0130")
https://bugs.ruby-lang.org/issues/12419

* Author: Martin D��rst
* Status: Open
* Priority: Normal
* Assignee: 
----------------------------------------
Currently, `"������".dump` produces `"\u{130}\u{130}\u{130}"`.

This is rather suboptimal, `"\u0130\u0130\u0130"` is shorter and easier to read.

The only time \u{} notation should be used is when more than four hex digits are needed.



-- 
https://bugs.ruby-lang.org/

Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>