# Translation in report looks wrong

**URL:** <https://forum.inductiveautomation.com/t/translation-in-report-looks-wrong/112571>\
**Category:** Ignition\
**Tags:** ignition81\
**Created:** [December 2, 2025, 4:37pm UTC](https://forum.inductiveautomation.com/t/translation-in-report-looks-wrong/112571 "2025-12-02T16:37:22Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![bkarabinchak.psi](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/bkarabinchak.psi/32/83567_2.png) [@bkarabinchak.psi](https://forum.inductiveautomation.com/u/bkarabinchak.psi)\
**Post date:** [December 2, 2025, 4:37pm UTC](https://forum.inductiveautomation.com/t/translation-in-report-looks-wrong/112571/1 "2025-12-02T16:37:23Z")

</div>

Using 8.1.25.

I have a report where in some data keys I do translation of terms before they go onto the report so the report text box just takes a `@someDataKey@` which will be the appropriate language based on a parameter.

I am leveraging the translation manager to handle this but some things are not looking right. Here is my translation for one term from English to french -

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/3/5/35426281f8ad45a8961f2a92e7f7e50d51b88d67.png)

But here is how it comes out on the report - the accented letters all look very wrong

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/a/b/ab83312a393c0ace2596a649bc3680178b697240.png)

Any idea on how to fix this and make it look correct?

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [December 2, 2025, 5:15pm UTC](https://forum.inductiveautomation.com/t/translation-in-report-looks-wrong/112571/2 "2025-12-02T17:15:42Z")

</div>

This is a classic text encoding symptom. Is this only in the final PDF output?

---

<div class="post-metadata">

**Author:** ![bkarabinchak.psi](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/bkarabinchak.psi/32/83567_2.png) [@bkarabinchak.psi](https://forum.inductiveautomation.com/u/bkarabinchak.psi)\
**Post date:** [December 2, 2025, 5:53pm UTC](https://forum.inductiveautomation.com/t/translation-in-report-looks-wrong/112571/3 "2025-12-02T17:53:15Z")

</div>

I see it like the above in the report designer, Report Viewer componet and when saved to pdf/printed.

One thing to note which is it seems like the translated bit tat looks wrong is in a `<html>` tag which I suspect might be at play here.

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [December 2, 2025, 6:56pm UTC](https://forum.inductiveautomation.com/t/translation-in-report-looks-wrong/112571/4 "2025-12-02T18:56:21Z")

</div>

> [@bkarabinchak.psi](#):
>
> in some data keys I do translation of terms before they go onto the report

How are you doing this, exactly?

One way to get this to happen seems to be the classic Jython 2 missing-u-prefix on literal strings:

```python
def updateData(data, sample):
	data['a'] = "String valuèeéê"
	data['b'] = "<html>String valuèeéê"
	data['c'] = u"String valuèeéê"
	data['d'] = u"<html>String valuèeéê"
	

```

Which yields:

 ![Screenshot 2025-12-02 at 10.55.24 AM](https://us1.discourse-cdn.com/inductiveautomation/original/3X/d/7/d747266317c4cc9323e5f5e6bd3f99ea80f557ba.png) ![Screenshot 2025-12-02 at 10.55.37 AM](https://us1.discourse-cdn.com/inductiveautomation/original/3X/0/e/0eec4a06fdeb4ab778f660a946bd062952c7c9e4.png)

---

<div class="post-metadata">

**Author:** ![bkarabinchak.psi](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/bkarabinchak.psi/32/83567_2.png) [@bkarabinchak.psi](https://forum.inductiveautomation.com/u/bkarabinchak.psi)\
**Post date:** [December 2, 2025, 7:41pm UTC](https://forum.inductiveautomation.com/t/translation-in-report-looks-wrong/112571/5 "2025-12-02T19:41:02Z")

</div>

That was it thank you!
