# Problem with cyrillic character in tag name

**URL:** <https://forum.inductiveautomation.com/t/problem-with-cyrillic-character-in-tag-name/5533>\
**Category:** Ignition\
**Created:** [December 6, 2012, 6:29am UTC](https://forum.inductiveautomation.com/t/problem-with-cyrillic-character-in-tag-name/5533 "2012-12-06T06:29:21Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![dymytr](https://avatars.discourse-cdn.com/v4/letter/d/ea5d25/32.png) [@dymytr](https://forum.inductiveautomation.com/u/dymytr)\
**Post date:** [December 6, 2012, 6:29am UTC](https://forum.inductiveautomation.com/t/problem-with-cyrillic-character-in-tag-name/5533/1 "2012-12-06T06:29:21Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![Michael.Stofan](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/michael.stofan/32/3342_2.png) [@Michael.Stofan](https://forum.inductiveautomation.com/u/Michael.Stofan)\
**Post date:** [December 6, 2012, 7:09pm UTC](https://forum.inductiveautomation.com/t/problem-with-cyrillic-character-in-tag-name/5533/2 "2012-12-06T19:09:32Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![nathan](https://avatars.discourse-cdn.com/v4/letter/n/c5a1d2/32.png) [@nathan](https://forum.inductiveautomation.com/u/nathan)\
**Post date:** [December 6, 2012, 7:40pm UTC](https://forum.inductiveautomation.com/t/problem-with-cyrillic-character-in-tag-name/5533/3 "2012-12-06T19:40:44Z")

</div>

I think he’s saying to try this:

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

---

<div class="post-metadata">

**Author:** ![dymytr](https://avatars.discourse-cdn.com/v4/letter/d/ea5d25/32.png) [@dymytr](https://forum.inductiveautomation.com/u/dymytr)\
**Post date:** [December 6, 2012, 11:21pm UTC](https://forum.inductiveautomation.com/t/problem-with-cyrillic-character-in-tag-name/5533/4 "2012-12-06T23:21:16Z")

</div>

[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 this`TagVal = system.tag.read('KTS_SQL/K-18/Tоп_К18')`and`TagVal = system.tag.read(u'KTS_SQL/K-18/Tоп_К18')`All result the same error. ☹

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

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

---

<div class="post-metadata">

**Author:** ![dymytr](https://avatars.discourse-cdn.com/v4/letter/d/ea5d25/32.png) [@dymytr](https://forum.inductiveautomation.com/u/dymytr)\
**Post date:** [December 6, 2012, 11:32pm UTC](https://forum.inductiveautomation.com/t/problem-with-cyrillic-character-in-tag-name/5533/5 "2012-12-06T23:32:25Z")

</div>

[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?

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [December 7, 2012, 12:50am UTC](https://forum.inductiveautomation.com/t/problem-with-cyrillic-character-in-tag-name/5533/6 "2012-12-07T00:50:31Z")

</div>

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.
