Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(160)

Issue 6782117: code review 6782117: unicode/utf8: add Width() to work as wcwidth(). return ...

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 5 months ago by mattn
Modified:
10 years, 9 months ago
Reviewers:
minux1, r, golang-dev, rsc, bradfitz
CC:
golang-dev
Visibility:
Public.

Description

unicode/utf8: add Width() to work as wcwidth(). return 1 for ambiguous width character.

Patch Set 1 #

Patch Set 2 : diff -r 03a6b8c9c396 http://go.googlecode.com/hg/ #

Patch Set 3 : diff -r 03a6b8c9c396 http://go.googlecode.com/hg/ #

Patch Set 4 : diff -r 03a6b8c9c396 http://go.googlecode.com/hg/ #

Patch Set 5 : diff -r ccd8c0dad0a7 http://go.googlecode.com/hg/ #

Patch Set 6 : diff -r ccd8c0dad0a7 http://go.googlecode.com/hg/ #

Patch Set 7 : diff -r ccd8c0dad0a7 http://go.googlecode.com/hg/ #

Patch Set 8 : diff -r ccd8c0dad0a7 http://go.googlecode.com/hg/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+258 lines, -0 lines) Patch
A src/pkg/unicode/utf8/wcwidth.go View 1 2 3 4 5 1 chunk +172 lines, -0 lines 0 comments Download
A src/pkg/unicode/utf8/wcwidth_test.go View 1 2 3 4 5 6 1 chunk +86 lines, -0 lines 0 comments Download

Messages

Total messages: 13
mattn
Hello golang-dev@googlegroups.com (cc: golang-dev@googlegroups.com), I'd like you to review this change to http://go.googlecode.com/hg/
11 years, 5 months ago (2012-11-26 06:22:17 UTC) #1
mattn
I'm thinking that IsAmbiguous(r rune) is also needed. On 2012/11/26 06:22:17, mattn wrote: > Hello ...
11 years, 5 months ago (2012-11-26 06:24:19 UTC) #2
mattn
I'm thinking that IsAmbiguous(r rune) is also needed.
11 years, 5 months ago (2012-11-26 06:26:36 UTC) #3
remyoudompheng
Hello, Can you explain the rationale for the change? - is it for use by ...
11 years, 5 months ago (2012-11-26 07:30:36 UTC) #4
mattn
Hi > Can you explain the rationale for the change? > - is it for ...
11 years, 5 months ago (2012-11-26 07:53:42 UTC) #5
mattn
If you want to wrap the long lines by specified column width, this function many ...
11 years, 5 months ago (2012-11-26 08:13:48 UTC) #6
minux1
I think this function is better put in package unicode instead of unicode/utf8 (it has ...
11 years, 5 months ago (2012-11-26 12:40:21 UTC) #7
rsc
I'd like to postpone this CL until after Go 1.1 is out. If this belongs ...
11 years, 5 months ago (2012-11-26 16:13:22 UTC) #8
mattn
Hello golang-dev@googlegroups.com, remyoudompheng@gmail.com, minux.ma@gmail.com, rsc@golang.org (cc: golang-dev@googlegroups.com), Please take another look.
10 years, 11 months ago (2013-06-03 09:26:27 UTC) #9
remyoudompheng
The tables of this should be unicode.RangeTables.
10 years, 11 months ago (2013-06-03 09:31:13 UTC) #10
r
I'm not exactly sure what this is, but I think it has to do with ...
10 years, 11 months ago (2013-06-03 12:26:43 UTC) #11
bradfitz
R=close
10 years, 11 months ago (2013-06-05 20:59:35 UTC) #12
remyoudompheng
10 years, 9 months ago (2013-07-20 21:27:15 UTC) #13

          
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b