Skip to content

Latin1 encoding errors when exporting with orca #1486

@ghost

Description

I have a problem exporting plots using LATIN1 encoding for characters. When I produce the plot with the plotly command, it works well but when I export it with ocra, the encoding goes wrong for some characters (for example, le spanish 'á' becomes '�' as the character is unknown - � = Unicode U+FFFD replacement for unrecognized character). I export simply with:

orca(p, file = "myplot.png", width = 1000, height = 500, format = "png", scale = 1)

Should I do something within the orca command to plot those characters correctly?

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