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

 1. [FAQ](/faq)
2. »
3. [Getting started with the regular archives](/faq/getting-started-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.
