Skip to content

[BUG] dcc.Download cannot download files without UTF-8 encoding. #1834

@enriquemoralesmontero

Description

@enriquemoralesmontero

I am trying to implement a dash_core_components.Download (Python). I am following the code of this web page step by step: https://dash.plotly.com/dash-core-components/download

image

The point is that this component does not download elements other than text with UTF-8 encoding. I have seen that on the aforementioned website the test buttons for CSV files, images, Excel...

Captura de pantalla (107)

Captura de pantalla (105)

Captura de pantalla (106)

Could this functionality have been corrupted at some point? It only happens when trying to download files without UTF-8 encoding.

I hope it has been helpfull. Thank you very much for this work.

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