Home > database >  PB9.0 derived statements about SaveAs function for gibberish, help!
PB9.0 derived statements about SaveAs function for gibberish, help!

Time:09-21

I use a PB9.0 program developed a,

One of the features is to use the following command to export EXCEL file

Dw_1. SaveAs (ls_filename HTMLTable! , True)

In operating the exported file on my computer is a normal display Chinese characters, but on the client computer display garbled, I was suspected to be the cause of the font, I was installed on the client computer to 'arial', 'song typeface after font is still gibberish,

What the problem may be caused by, or in any other way to debug it? Hope to have a talent can help me with,

CodePudding user response:

The problem of unicode

CodePudding user response:

refer to the original poster jupiterrr response:
I use PB9.0 program developed a,

One of the features is to use the following command to export EXCEL file

Dw_1. SaveAs (ls_filename HTMLTable! , True)

In operating the exported file on my computer is a normal display Chinese characters, but on the client computer display garbled, I was suspected to be the cause of the font, I was installed on the client computer to 'arial', 'song typeface after font is still gibberish,

What the problem may be caused by, or with any other party...

If the client computer no PB, or lack of PB in some dynamic library?

CodePudding user response:

1st floor, is there a way to solve or what test?

CodePudding user response:

The system can only heavy support unicode?

CodePudding user response:

Online is not written export EXCEL program??
The next to go, you don't have to write their own,

CodePudding user response:

Our programs have a turn archives in programs, met a similar problem, then the F1 has examined the help document
Number dwcontrol. SaveAs (string filename, string saveastype, Boolean colheading {, string encoding})
This is to help in the document, pay attention to the last variable is similar to set the character set,

Then I changed to
Enclosing SaveAs (ls_rfilename HTMLTable! TRUE, EncodingUTF8! )

With respect to OK,

I was just understand the original poster can try...

CodePudding user response:

Old yellow is used to derive the method
?Very spirit

CodePudding user response:

Ls_rfilename file name is *. XLS

Dw_1. SaveAsascii (ls_rfilename)

CodePudding user response:

refer to 6th floor fengchen221 response:
our programs have a turn archives in programs, met a similar problem, then the F1 has examined the help document
Number dwcontrol. SaveAs (string filename, string saveastype, Boolean colheading {, string encoding})
This is to help in the document, pay attention to the last variable is similar to set the character set,

Then I changed to
Enclosing SaveAs (ls_rfilena...


6th floor positive solution, the problem of character set, the parameters specified in the appropriate character set is ok,

CodePudding user response:

save as

CodePudding user response:

Pb9 cannot specify the character set

CodePudding user response:

9 no. 10

CodePudding user response:

Old yellow SaveAsascii or use