Custom Encoding Fix for older versions 19.1.3 and below


Badge +3

Custom Encoding Fix for older versions 19.1.3 and below

 

The Custom Encoding option was a feature request which was introduced in 19.5 so the default encoding is cp1252 on the older versions.

 

However, it is dependable on the system default setting, which can be altered.

 

Workaround:

 

1) Close the Kryon Studio

2) Set the System Environment Variable for the Python IO Encoding:

  • Variable name: PYTHONIOENCODING
  • Variable value: UTF-8 (or other encoding)

3) Re-start the Studio

4) Default encoding is now changed from cp1252 to UTF-8

 

Can be verified with the below script (Tested with Portuguese):

print("Vinícius - João - Márcia - Ângela")

 

Old results:

Vin�cius - Jo�o - M�rcia - �ngela

 

New results:

Vinícius - João - Márcia - Ângela

 

.lwiz attached


0 replies

Be the first to reply!

Reply