Skip to content

Text encoding issue on Windows when running Live Coding #799

Description

@villares

This module mode sketch works fine on Windows, but under the Live Coding runner it mangles the encoding of non-ASCII text, both using Thonny or the CLI tool. But only inside draw()! Inside setup() it renders the text fine.

Standard run:
Image

Live Coding run:
Image

import py5

def setup():
    py5.size(300, 200)
    py5.text_size(32)
    
def draw():
    py5.text('façade café thé', 20, 100)    

py5.run_sketch()

I haven't tested this on Linux yet.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions