[qmtest] Natonal characters in tests

Mark Mitchell mark at codesourcery.com
Wed Aug 20 18:57:48 UTC 2003


On Tue, 2003-08-19 at 01:03, Pavel Cisar wrote:
> Hi all,
> 
> It's maybe a lame question, but how can I create my own test class that 
> can handle national characters in fields ? When I use qm.fields.TextField 
> and store national characters in it, I got one from next errors:

I think you'd want to create your own Field class, rather than your own
test class.

However, it would be better if we could add Unicode support to
TextField.

I can think of (at least) two issues that will have to be solved:

1. The TextField.MakeDomNodeForValue routine may have to be 
   modified to generate appropriate XML.  Similarly, the 
   GetValueFromDomNode may need modification.

2. The FormatValueAsHtml function will probably need to know how
    to display Unicode.

Is there a way that I can replicate your results, as a U.S. user?

How are you running QMTest and putting in the international characters?

Thanks!

-- 
Mark Mitchell <mark at codesourcery.com>
CodeSourcery, LLC




More information about the qmtest mailing list