Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

An unicode error on new version of maya,(like 2024.1) #41

Open
lovejunjie1 opened this issue Nov 23, 2023 · 1 comment
Open

An unicode error on new version of maya,(like 2024.1) #41

lovejunjie1 opened this issue Nov 23, 2023 · 1 comment

Comments

@lovejunjie1
Copy link

I am a long time user since maya 2018.

for now, I changed my maya, update to 2024 version 1.

software lang environment was english.
windows unicode is GB2312/GBK
my code was useing UTF-8

I just type alt+m, send those UTF-8 code to maya. there was appeared.

Error: line 1: UnicodeDecodeError: file line 1: 'gbk' codec can't decode byte 0xaa in position 1026: illegal multibyte sequence

I need your help.
mayabe there was some things I have been missed. you can ask any thing what I can do.

cheers.

@lovejunjie1
Copy link
Author

lovejunjie1 commented Dec 18, 2023

#!/usr/bin/env python
# -*- coding: utf-8 -*-
'''
Author: figo
Date: 2023-12-18 17:29:14
LastEditTime: 2023-12-18 17:29:40
LastEditors: figo - uz
Description: 这是一个测试文件
FilePath: \ygpipe39\figoBrownser\bin\test\gg.py
copyright: figo software 2020-2021
'''

# 一个中文的测试注释
print ('你好世界')

those are the tesing code.please , I need your help

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant