Yes, I initially started the string with “A\u0312a”. The combining code point appears over the second “a” rather than the first. Hence my question.
But after thinking about it and doing some additional testing, this appears to be a problem with my setup (Chrome on Windows 7). For example, when I use “A\u0313a” instead, it works as expected. I tried about a dozen different combining points, and I found the same problem for 2 others (\u0321 and \u0322), but all the rest are OK. Very strange. J John John Souvestre - New Orleans LA From: golang-nuts@googlegroups.com [mailto:golang-nuts@googlegroups.com] On Behalf Of Viktor Kojouharov Sent: 2016 July 15, Fri 02:28 To: golang-nuts Subject: Re: [go-nuts] Re: How to make the first character in a string lowercase? Did you test it with combined code points? On Thursday, July 14, 2016 at 11:18:20 PM UTC+3, John Souvestre wrote: What if the first character is a combined code point? John John Souvestre - New Orleans LA From: golan...@googlegroups.com <javascript:> [mailto:golan...@googlegroups.com <javascript:> ] On Behalf Of Viktor Kojouharov Sent: 2016 July 14, Thu 03:57 To: golang-nuts Subject: [go-nuts] Re: How to make the first character in a string lowercase? https://play.golang.org/p/miLAFSDjrS For unicode On Thursday, July 14, 2016 at 7:26:13 AM UTC+3, Tamás Gulácsi wrote: But this works only for ASCII input! -- 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...@googlegroups.com <javascript:> . For more options, visit https://groups.google.com/d/optout. -- 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. -- 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.