Skip to content

bug: read_csv and german umlaut (ä,ö,ü) in filename #9315

@Helgeb

Description

@Helgeb

The following code

import pandas
df = pandas.read_csv('C:\\exampleä\\test.csv')

thows an OSError: File b'C:\\example\xc3\xa4\\test.csv' does not exist.

This df = pandas.read_excel('C:\exampleä\test.xlsx', 'test') and this open(r'C:\exampleä\test.csv', newline='') works perfectly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    IO CSVread_csv, to_csvUnicodeUnicode strings

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions