You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2021/09/10 10:05:14 UTC

[GitHub] [airflow] potiuk commented on issue #18133: bulk_sync_to_db got UnicodeDecodeError when Chinese characters in dag code

potiuk commented on issue #18133:
URL: https://github.com/apache/airflow/issues/18133#issuecomment-916787541


   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.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org