Answer the question
In order to leave comments, you need to log in
Why isn't all the text output to the console?
I am converting text from utf-16 to utf-8, but the following problem occurs, that the entire text is not displayed or is displayed with "\r". (I scavenge files under ubuntu that were saved in Windows). Is there any way to properly remove this?
//так отображается часть текста
fmt.Printf("%v\n",binaryFIleFormat.UTF16BytesToString(bb,binary.LittleEndian))
//если добавить # перед v то
//так отображается весь текст, но появляются \r в разных местах
fmt.Printf("%#v\n",binaryFIleFormat.UTF16BytesToString(bb,binary.LittleEndian))
Answer the question
In order to leave comments, you need to log in
https://play.golang.org/p/9RpSsyoL4_6
Here, in the combined example, it outputs both times
No. 2
"Orga
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question