Narendra-Neerukonda commented on issue #18133:
URL: https://github.com/apache/airflow/issues/18133#issuecomment-917588618


   I looked into the source code where it's loading dags from files. It's using 
importlib at 
airflow.models.dagbag.DagBag:_load_modules_from_file/_load_modules_from_zip, 
called from airflow.models.dagbag.DagBag:process_file
   
   I'm not aware of the encoding importlib is using internally. But, in the 
case of this specific issue, user's dag was loaded properly problem faced was 
to only display the code in the UI.(so assuming it's using 
utf-8/something-compatible internally. ref: 
[PEP-3120](https://www.python.org/dev/peps/pep-3120/) Please let me know if 
there's any other place to be looked into. 


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to