Skip to content

Conversation

@tbu-
Copy link
Contributor

@tbu- tbu- commented Nov 18, 2016

The problem occured due to lines like

3400;<CJK Ideograph Extension A, First>;Lo;0;L;;;;;N;;;;;
4DB5;<CJK Ideograph Extension A, Last>;Lo;0;L;;;;;N;;;;;

in UnicodeData.txt, which the script previously interpreted as two
characters, although it represents the whole range.

Fixes #34318.

The problem occured due to lines like

```
3400;<CJK Ideograph Extension A, First>;Lo;0;L;;;;;N;;;;;
4DB5;<CJK Ideograph Extension A, Last>;Lo;0;L;;;;;N;;;;;
```

in `UnicodeData.txt`, which the script previously interpreted as two
characters, although it represents the whole range.

Fixes rust-lang#34318.
@rust-highfive
Copy link
Contributor

r? @sfackler

(rust_highfive has picked a reviewer for you, use r? to override)

@tbu-
Copy link
Contributor Author

tbu- commented Nov 18, 2016

I also added a little test for this new behavior.

CC @liigo
r? @alexcrichton

@alexcrichton
Copy link
Member

@bors: r+

@bors
Copy link
Collaborator

bors commented Nov 18, 2016

📌 Commit d0bb7e1 has been approved by alexcrichton

@bors
Copy link
Collaborator

bors commented Nov 20, 2016

⌛ Testing commit d0bb7e1 with merge 224f2ce...

bors added a commit that referenced this pull request Nov 20, 2016
Fix `fmt::Debug` for strings, e.g. for Chinese characters

The problem occured due to lines like

```
3400;<CJK Ideograph Extension A, First>;Lo;0;L;;;;;N;;;;;
4DB5;<CJK Ideograph Extension A, Last>;Lo;0;L;;;;;N;;;;;
```

in `UnicodeData.txt`, which the script previously interpreted as two
characters, although it represents the whole range.

Fixes #34318.
@bors bors merged commit d0bb7e1 into rust-lang:master Nov 20, 2016
@bluss bluss added the relnotes Marks issues that should be documented in the release notes of the next release. label Nov 20, 2016
@liigo
Copy link
Contributor

liigo commented Nov 23, 2016

@tbu- Nice work! I'v double checked in Chinese Windows. This PR did fixed #34318. Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

relnotes Marks issues that should be documented in the release notes of the next release.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants