# How to resolve the Chinese garbled text from S7-1500 PLC

**URL:** <https://forum.inductiveautomation.com/t/how-to-resolve-the-chinese-garbled-text-from-s7-1500-plc/116277>\
**Category:** Ignition\
**Tags:** ignition83, siemens\
**Created:** [July 6, 2026, 10:11am UTC](https://forum.inductiveautomation.com/t/how-to-resolve-the-chinese-garbled-text-from-s7-1500-plc/116277 "2026-07-06T10:11:52Z")\
**Posts on this page:** 1\
**Showing post:** 2

<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:** [July 6, 2026, 3:21pm UTC](https://forum.inductiveautomation.com/t/how-to-resolve-the-chinese-garbled-text-from-s7-1500-plc/116277/2 "2026-07-06T15:21:05Z")

</div>

I've done my best to recover the code formatting on your original post; see [this thread](https://forum.inductiveautomation.com/t/wiki-how-to-post-code-on-this-forum/77831) for more instructions on how to do it.

Step 1, most likely, is to drop all this stuff you're trying to do via scripting. Strings Ignition returns to you are natively unicode and you don't have to mess around with encodings in most scenarios.  
Post the **exact** value of what `raw_string` is as soon as you get it - e.g. use `system.util.getLogger("stringDebug").infof("raw string: %s", repr(raw_string))`

Also, this is just a hunch, but be very careful with the output of LLMs/AI with regard to Ignition. LLMs need very diligent prompting because they don't fully understand Ignition's context and will happily provide you lots and lots of code you don't actually need.

---

_[View the full topic](https://forum.inductiveautomation.com/t/how-to-resolve-the-chinese-garbled-text-from-s7-1500-plc/116277)._
