# How can I check that object of class OdDbAttribute has UTF-8 characters?

 1. [FAQ](/faq)
2. »
3. [Regular archives](/faq/regular-archives)

Use attr-&gt;tag ().c\_str() and attr-&gt;textString ().c\_str().  
Also [this article](https://www.opendesign.com/blog/2017/february/converting-code-using-odstring-and-odansistring-classes) will be helpful.
