Profile Picture

How to set iclone's console log into UTF-8 encoding?

Posted By butaixianran 5 Years Ago
You don't have permission to rate!
Author
Message
butaixianran
butaixianran
Posted 5 Years Ago
View Quick Profile
Veteran Member

Veteran Member (941 reputation)Veteran Member (941 reputation)Veteran Member (941 reputation)Veteran Member (941 reputation)Veteran Member (941 reputation)Veteran Member (941 reputation)Veteran Member (941 reputation)Veteran Member (941 reputation)Veteran Member (941 reputation)

Group: Forum Members
Last Active: Last Year
Posts: 30, Visits: 305
In my python script, I need to use some asian words like this:
a = {'頭部': 'head'}
print(a)

but iclone's console log just give me mess code like this:
{'闋儴': 'head'}

I've added encoding at the top of my script like this:
# -*- coding: UTF-8 -*-
# coding=utf-8
Which works on my local python but not in iclone.

So, is there a way to use UTF-8 for iclone's console log?

SeanMac
SeanMac
Posted 5 Years Ago
View Quick Profile
Distinguished Member

Distinguished Member (5.0K reputation)Distinguished Member (5.0K reputation)Distinguished Member (5.0K reputation)Distinguished Member (5.0K reputation)Distinguished Member (5.0K reputation)Distinguished Member (5.0K reputation)Distinguished Member (5.0K reputation)Distinguished Member (5.0K reputation)Distinguished Member (5.0K reputation)

Group: Forum Members
Last Active: Last Year
Posts: 416, Visits: 3.4K
That is a damn good question.
If we want Reallusion to succeed as a global company then they must think globally now.
AllenLee (RL)
AllenLee (RL)
Posted 5 Years Ago
View Quick Profile
Senior Member

Senior Member (343 reputation)Senior Member (343 reputation)Senior Member (343 reputation)Senior Member (343 reputation)Senior Member (343 reputation)Senior Member (343 reputation)Senior Member (343 reputation)Senior Member (343 reputation)Senior Member (343 reputation)

Group: Forum Members
Last Active: Last Year
Posts: 54, Visits: 526
Hi butaixianran,

Sorry, our console logs do not support UTF-8 / Unicode strings now.

I will fix this in the next version of iClone.

Allen Lee
Edited
5 Years Ago by AllenLee (RL)
justaviking
justaviking
Posted 5 Years Ago
View Quick Profile
Distinguished Member

Distinguished Member (20.4K reputation)Distinguished Member (20.4K reputation)Distinguished Member (20.4K reputation)Distinguished Member (20.4K reputation)Distinguished Member (20.4K reputation)Distinguished Member (20.4K reputation)Distinguished Member (20.4K reputation)Distinguished Member (20.4K reputation)Distinguished Member (20.4K reputation)

Group: Forum Members
Last Active: 2 Weeks Ago
Posts: 8.2K, Visits: 26.5K
AllenLee (RL) (10/17/2019)
Hi butaixianran,
Sorry, our console logs do not support UTF-8 / Unicode strings now.
I will fix this in the next version of iClone.
Allen Lee


Wow!!!  w00t
I have dreamed about interactions like this on the forum for years.  Discuss
Thanks, Allen.  Smile



iClone 7... Character Creator... Substance Designer/Painter... Blender... Audacity...
Desktop (homebuilt) - Windows 10, Ryzen 9 3900x CPU, GTX 1080 GPU (8GB), 32GB RAM, Asus X570 Pro motherboard, 2TB SSD, terabytes of disk space, dual  monitors.
Laptop - Windows 10, MSI GS63VR STEALTH-252, 16GB RAM, GTX 1060 (6GB), 256GB SSD and 1TB HDD




Reading This Topic