Re: [go-nuts] Re: understanding utf-8 for a newbie

2017-05-07 Thread Tom Limoncelli
I highly recommend "The Absolute Minimum Every Software Developer Absolutely, Positively Must Know About Unicode and Character Sets (No Excuses!)" https://www.joelonsoftware.com/2003/10/08/the-absolute-minimum-every-software-developer-absolutely-positively-must-know-about-unicode-and-character-sets

Re: [go-nuts] Re: understanding utf-8 for a newbie

2017-05-06 Thread Sam Whited
On Sat, May 6, 2017 at 7:40 PM, peterGo wrote: > Corrected, corrected link. I will get it right eventually! > > For UTF-8 to CP1252: https://play.golang.org/p/vzupJY78XB FWIW, if you do need CP1252 (you probably don't) it already exists in Go-land as one of the encodings specified in this package

[go-nuts] Re: understanding utf-8 for a newbie

2017-05-06 Thread peterGo
rob, Why are you converting UTF-8 to ASCII for Windows 10? Convert UTF-8 to CP1252 (Windows-1252) or UTF16. Corrected, corrected link. I will get it right eventually! For UTF-8 to CP1252: https://play.golang.org/p/vzupJY78XB Peter On Friday, May 5, 2017

[go-nuts] Re: understanding utf-8 for a newbie

2017-05-06 Thread peterGo
rob, Why are you converting UTF-8 to ASCII for Windows 10? Convert UTF-8 to CP1252 (Windows-1252) or UTF16. Corrected link. For UTF-8 to CP1252: https://play.golang.org/p/vzupJY78XB Peter On Friday, May 5, 2017 at 9:11:16 PM UTC-4, rob solomon wrote: >

[go-nuts] Re: understanding utf-8 for a newbie

2017-05-06 Thread peterGo
rob, Why are you converting UTF-8 to ASCII for Windows 10? Convert UTF-8 to CP1252 (Windows-1252) or UTF16. For UTF-8 to CP1252: https://play.golang.org/p/BBiN2ihc02 Peter On Friday, May 5, 2017 at 9:11:16 PM UTC-4, rob solomon wrote: > > Hi. I decided to write a small program in Go to conver