RouterOS_API icon indicating copy to clipboard operation
RouterOS_API copied to clipboard

Encoding problem

Open wmbin opened this issue 2 years ago • 0 comments

Thank you for your project. I am currently encountering an issue where I am getting a strange string after printing in Python.

How to decode it back?

ChineseName: 遂宁-家(核心)

ROS encoding: \CB\EC\C4\FE-\BC\D2(\BA\CB\D0\C4)

python print: \\xcb\\xec\\xc4\\xfe-\\xbc\\xd2(\\xba\\xcb\\xd0\\xc4)

wmbin avatar Feb 01 '24 09:02 wmbin