GitHub user potiuk added a comment to the discussion: bulk_sync_to_db got 
UnicodeDecodeError when Chinese characters in dag code

Just started to answer when @uranusjr  did  :) ,. so to repeat - as a solution 
for now you need to set the encoding properly via LANG* variables in your 
environment (for all components):
https://stackoverflow.com/questions/2276200/changing-default-encoding-of-python

Airflow will use default encoding from the system. We are working on 
hard-conding utf8 for other parts #17965 - this might be a nice one to add also 
for parsing the files.

GitHub link: 
https://github.com/apache/airflow/discussions/63175#discussioncomment-16050768

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]

Reply via email to