The mailing list has been closed since July 2022, but continues to serve as an archive of information about QF-Test.
If you want to stay informed about news about QF-Test, you can simply subscribe to our newsletter:
Subscribe to 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