Re: [go-nuts] unicode constant

2017-09-07 Thread Tong Sun
Thanks a lot Ian, That is a really *clear explanation*, coming from a *helpful attitude*. Thanks. On Thu, Sep 7, 2017 at 6:13 PM, Ian Lance Taylor wrote: > On Thu, Sep 7, 2017 at 3:08 PM, Tong Sun wrote: > > > > Are unicode constant supposed to be

Re: [go-nuts] unicode constant

2017-09-07 Thread Jan Mercl
On Fri, Sep 8, 2017 at 12:09 AM Tong Sun wrote: https://play.golang.org/p/FD8UMrDkf- > How can I make it works? Follow the language specification. -- -j -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe

Re: [go-nuts] unicode constant

2017-09-07 Thread Ian Lance Taylor
On Thu, Sep 7, 2017 at 3:08 PM, Tong Sun wrote: > > Are unicode constant supposed to be specified differently? > What's wrong with the following code? > https://play.golang.org/p/5UCmbKSIej > > How can I make it works? \u must be followed by exactly 4 hex digits. \U must be

[go-nuts] unicode constant

2017-09-07 Thread Tong Sun
Hi, Are unicode constant supposed to be specified differently? What's wrong with the following code? https://play.golang.org/p/5UCmbKSIej How can I make it works? Thanks -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from