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 <i...@golang.org> wrote: > On Thu, Sep 7, 2017 at 3:08 PM, Tong Sun <suntong...@gmail.com> 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 followed by exactly 8 hex digits. > > Ian > -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.