Skip to content

Specifying file encoding #12

@hardik-vala

Description

@hardik-vala

When using non-ASCII characters in .xp files with Python code blocks, I have to specify,

code.py:
    # -*- coding: UTF-8 -*-
    ...

for every Python code block.

It would be convenient to specify a single encoding for the whole file. (Bash and GnuPlot don't need the encoding specified, as far as I know, but as support for other languages is added in, it would be nice to have a universal mode for specifying the encoding of a file, once, that applies to all code blocks in the file.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions