diff --git a/ofx.go b/ofx.go index a1871fe..87efb67 100644 --- a/ofx.go +++ b/ofx.go @@ -339,6 +339,9 @@ func (or *Response) Unmarshal(reader io.Reader, xmlVersion bool) error { decoder.Strict = false decoder.AutoCloseAfterCharData = ofxLeafElements } + decoder.CharsetReader = func(charset string, input io.Reader) (io.Reader, error) { + return input, nil + } if xmlVersion { // parse the xml header