Looks like I posted an answer at the same time as Jeff Mayer (which was very similar) so I'll add a scripting answer instead:
Dim hasAccents As Boolean = System.Text.RegularExpressions.Regex.IsMatch(Text, "[ÀÈÏÒÙ]", System.Text.RegularExpressions.RegexOptions.IgnoreCase)
Scene.SetObjectPropertyString("first_name_text", "Position.Y", Iif(hasAccents, 10, 0))
You can add to the regex as needed.