| |

VerySource

 Forgot password?
 Register
Search
View: 520|Reply: 1

How to deal with garbled characters generated by FO after reading Big5

[Copy link]

1

Threads

2

Posts

3.00

Credits

Newbie

Rank: 1

Credits
3.00

 China

Post time: 2020-1-10 21:00:01
| Show all posts |Read mode
There are a lot of data, which were previously read with FO.OpenTextFile + TextStream.readall and then directly AppendChunk into the ole field. (OpenTextFile.formate = System default)

Now all these data are garbled

I cannot convert successfully with the following way with ado.stream
-> "big5"
ascii-> big5
gb2312-> big5

According to my idea, Fo will read Big5 in Ascii mode, but during processing, Visual Basic turned these ascii read data into unicode strings ........... dizzy.

I can't figure out what to do now, and ask the seniors for advice.
Reply

Use magic Report

1

Threads

2

Posts

3.00

Credits

Newbie

Rank: 1

Credits
3.00

 China

 Author| Post time: 2020-1-13 17:09:01
| Show all posts
Forgot to say, these texts were originally in Big5 format
Reply

Use magic Report

You have to log in before you can reply Login | Register

Points Rules

Contact us|Archive|Mobile|CopyRight © 2008-2023|verysource.com ( 京ICP备17048824号-1 )

Quick Reply To Top Return to the list