Categories
Cropping text in Golang?
This is how I cut the text in the play.golang script sometimes comes across at the end of �, as in the example. Something I'm stupid, how is it more correct so that there is no this "kosyachny" symbol?
Answer the question
In order to leave comments, you need to log in
Yes, you have cropping not by characters, but by byte, here is an example of working through rune play.golang.org/p/A732dMq-5O
Didn't find what you were looking for?
Ask a Question
731 491 924 answers to any question