Issue2802
Created on 2019-09-20.10:02:53 by rhwood, last changed 2019-10-26.09:29:39 by adamburke.
| Messages | |||
|---|---|---|---|
| msg12658 (view) | Author: Randall Wood (rhwood) | Date: 2019-09-20.10:02:53 | |
src/org/python/core/ParserFacade.java rejects any PEP 0263 magic coding comment in a UTF-8 input (lines 314-316). In that case, should it not accept the magic coding comment that indicates the input is UTF-8 (i.e. should the comment "# -*- coding: utf-8 -*-" not be rejected)? |
|||
| msg12718 (view) | Author: Adam Burke (adamburke) | Date: 2019-10-26.09:29:39 | |
Maybe? It seems fairly reasonable. How exactly are you triggering this, though? A naive test actually works - this ran without issue for me:
# -*- coding: utf-8 -*-
print('好')
|
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2019-10-26 09:29:39 | adamburke | set | nosy:
+ adamburke messages: + msg12718 |
| 2019-09-20 10:02:54 | rhwood | create | |