Skip to content

Commit

Permalink
removed debug message
Browse files Browse the repository at this point in the history
  • Loading branch information
mfdeveloper508 committed Sep 20, 2023
1 parent 27223da commit a5e46c4
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions reader.go
Original file line number Diff line number Diff line change
Expand Up @@ -105,10 +105,7 @@ func Passthrough(lineIn string) (lineOut string) {

// DecodeEBCDIC will decode a line from EBCDIC-0037 to UTF-8
func DecodeEBCDIC(lineIn string) (lineOut string) {
lineOut, err := encoding.EBCDIC.NewDecoder().String(lineIn)
if err != nil {
fmt.Printf("Error decoding '%X' as EBCDIC: %v\n", lineIn, err)
}
lineOut, _ = encoding.EBCDIC.NewDecoder().String(lineIn)
return lineOut
}

Expand Down

0 comments on commit a5e46c4

Please sign in to comment.