Answer the question
In order to leave comments, you need to log in
How to parse xml with windows-1251 encoding?
I found this example
https://github.com/dps/go-xml-parse/blob/master/go...
It works if the file is in utf-8, with the appropriate header.
But if the file in windows-1251 does not work, it comes out in this place
t, _ := decoder.Token()
if t == nil {
break
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question