Hi,

Is there a way to know encoding of string (bytes) literal
defined in source file? For example, given that source:

    # -*- coding: utf-8 -*-
    from library import Entry
    Entry("текст")

Is there any way for Entry() constructor to know that
string "текст" passed into it is the utf-8 string?

I need to better prepare SCons for Python 3 migration.

Please, CC.
-- 
anatoly t.
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to