Problem with cyrillic character in tag name

Hello All!
I write in script simple code:

TagVal = system.tag.read(u"KTS_SQL/K-18/Tоп_К18")Tag name in this sample is contain cyrillic character.
When this script is start, I get an error:

[code]Traceback (most recent call last):

File “event:visionWindowOpened”, line 1, in

ValueError: Illegal character ‘?’ (Line 1 , Char 15)

Ignition v7.5.3 (b1163)
Java: Oracle Corporation 1.7.0_07
[/code]
What’s solution?
Thanks!

P.S.: I am so sorry for my bad English.

system.tag.read() only takes in a string as an argument, so in this case you won’t want to have anything in there that is outside of the quotes.

I think he’s saying to try this:

TagVal = system.tag.read("KTS_SQL/K-18/Tоп_К18")

[quote=“nathan”]I think he’s saying to try this:

TagVal = system.tag.read("KTS_SQL/K-18/Tоп_К18")[/quote]I get a same error.

I try this:TagVal = system.tag.read("KTS_SQL/K-18/Tоп_К18")and thisTagVal = system.tag.read('KTS_SQL/K-18/Tоп_К18')andTagVal = system.tag.read(u'KTS_SQL/K-18/Tоп_К18')All result the same error. :frowning:

I was update Ignition to version 7.5.4 and try execute samples code - changed nothing. :cry:

I was sure that in names of tags there can be unicode charakters. What’s wrong?

[quote=“michael.stofan”]system.tag.read() only takes in a string as an argument, so in this case you won’t want to have anything in there that is outside of the quotes.[/quote]Char ‘u’ before quotes is common unicode prefix in Ignition. Isn’t it?

Yes, it’s a unicode prefix for Python. I don’t think that’s the issue here - there may just be a bug. We will look into it further.