<div dir="ltr">Hi Jose,<div><br></div><div>Are you using Visual Studio?  Its default encoding is not utf-8.  Your source files probably use latin1 to encode the accents, because that is the default 8-bit encoding for Windows in western countries.</div><div><br></div><div> - David</div><div><br></div><div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Aug 18, 2015 at 11:15 AM, Jose Barreto <span dir="ltr"><<a href="mailto:jose.de.paula@live.com" target="_blank">jose.de.paula@live.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">erro Generic Warning: In D:\Documentos<br>
XDICOM\VTK\source\Common\Core\vtkUnicodeString.cxx, line 183<br>
vtkUnicodeString::from_utf8(): not a valid UTF-8 string.<br>
<br>
<br>
When passao a text that has emphasis (UTF8 format) to<br>
<br>
caption = vtkCaptionWidget::New();<br>
<br>
//texto = "Testandóoo";<br>
static_cast<vtkCaptionRepresentation *>(caption<br>
->GetRepresentation())->GetCaptionActor2D()->SetCaption(clXUteis::ConverterStringParaChar(form->texto));<br>
<br>
<br>
can anyone help?<br></blockquote></div></div></div></div>