La liste de diffusion est fermée depuis juillet 2022, mais sert toujours d'archive d'informations sur QF-Test.
Cependant, si vous souhaitez rester informé des nouveautés concernant QF-Test, vous pouvez simplement vous abonner à la newsletter :
abonner à la newsletter
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [QF-Test] Chinese characters in QFT
Hello Ashish, basically QF-Test should be able to handle Chinese characters, but problems may arise at various points when reading files or converting strings. Jython in particular can be a problem here as its default strings are 8bit-based. Have you tried the same using a Groovy script? A lot depends on the details. If you can't get it to work, please send your test-suite and a run-log to our support. Best regards, Greg "Tulaskar, Ashish" <Ashish.Tulaskar@?.com> writes: > Hi, > > We are using QFT for the automation of encoders/multiplexers like broadcast equipments. In one of > the automated test case, I need to extract Chinese characters(simple & traditional) from a log > file (.txt file) & assign them to a variable (global variable) in QFT for further processing. > We have a procedure which accesses the analyser & generates .txt log file on one remote machine. > Same procedure copies/transfers the content of the log file(whole content including Chinese > characters & normal English) to a global variable in QFT. > Now I am facing a problem that while data getting assigned to variable, Chinese characters gets > corrupted & it becomes useless for further processing. I tried several ways to overcome this using > Jython script, but it is of no use. So can any one suggest me how to get proper Chinese characters > in variable in QFT from log file? > Thanks for your valuable reply. > > Regards, > > Ashish Tulaskar > +91 7483353085 -- Gregor Schmid E: gregor.schmid@?.de T: +49 (0)8171 38648-11 F: +49 (0)8171 38648-16 Quality First Software GmbH | www.qfs.de Tulpenstr. 41 | 82538 Geretsried | Germany GF Gregor Schmid, Karlheinz Kellerer HRB München 140833