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

thanks~ 

> You probably need this: https://stackoverflow.com/a/27931669/1376863
> 
> Although explicitly using UTF-8 is probably a correct thing to do anyway. 
> IIRC the source code read here is only used for UI display? Always using 
> UTF-8 would be OK if that’s the case.

solved...
It is more recommended that we can set the encoding...

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

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

Reply via email to