2017 up to now  | 2016 | 2015 | 2014 | 2013 | 2012 | 2011 | 2010 | 2009 | 2008 | 2007

(older archive entries before 2007 are not shown here, but included in the onsite-search)

Mailing List - Entries of 2012


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[QF-Test] Non-breaking space in version 3.2.2


  • Subject: [QF-Test] Non-breaking space in version 3.2.2
  • From: Köngäs Tiina <Tiina.Kongas@?.fi>
  • Date: Fri, 19 Oct 2012 14:36:03 +0000

Hi!

 

I’m currently using QF-Test version 3.2.2. Earlier I have used version 2.2.4 and in that version I didn’t have this kind of problem.

 

My SUT uses number values, which has thousand separators. In my test I need to fetch those values and make some checking or modification by Jython script.

Used non-breaking space is “\u00a0”. If I’m trying to put value that contains that space to some variable in script (e.g. f= $(fff)) I will get the following error:

 

SyntaxError: Lexical error at line 1, column 5.  Encountered: "\u00a0" (160), after : ""

 

If I’m trying to put some value that contains the space inside script (e.g. tmp2= u"\u00a0" + tmp1), I will get the following error:

 

UnicodeError: ascii encoding error: ordinal not in range(128)

 

 

As I said these my examples has worked fine in older version, but now in this version something has changed.

 

Can you please help me

 

Br,

Tiina Köngäs