You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What steps will reproduce the problem?
1. import go-charset with both charset and charset/data package
2. perform conversion on a string containing ASCII characters
3. check the result
What is the expected output?
The ASCII characters should be there with the converted big5 characters.
What do you see instead?
The ASCII characters disappeared.
What version of the product are you using? On what operating system?
go1.1.1 on Windows XP without iconv
Please provide any additional information below.
Example (runnable example attached):
r, err := charset.NewReader("big5", strings.NewReader("123 English
\xb4\xfa\xb8\xd5"))
if err != nil {
log.Fatal(err)
}
result, err := ioutil.ReadAll(r)
if err != nil {
log.Fatal(err)
}
fmt.Printf("%s\n", result)
Original issue reported on code.google.com by Benny.T...@gmail.com on 2 Jul 2013 at 11:02
Original issue reported on code.google.com by
Benny.T...@gmail.com
on 2 Jul 2013 at 11:02Attachments:
The text was updated successfully, but these errors were encountered: