Describe the bug
When I'm trying to read dxf file which includes German Umlauts(ä, ö, ü) letters in layer name, it shows the error below.

To Reproduce
Information and data needed to reproduce the error:
-
A simplified Python script which triggers the error.
doc = ezdxf.readfile("umlaut_layer_test.dxf")
-
Information about the ezdxf version and the OS.
dzdxf 0.17.2 / Window 11
-
If a 3rd party DXF file causes the error, add a simplified and zipped
dxf
Expected behavior
Checking the error when reading the letter Umlauts ü(Unicode Character: \U+00FC)
Describe the bug

When I'm trying to read dxf file which includes German Umlauts(ä, ö, ü) letters in layer name, it shows the error below.
To Reproduce
Information and data needed to reproduce the error:
A simplified Python script which triggers the error.
doc = ezdxf.readfile("umlaut_layer_test.dxf")
Information about the ezdxf version and the OS.
dzdxf 0.17.2 / Window 11
If a 3rd party DXF file causes the error, add a simplified and zipped
dxf
Expected behavior
Checking the error when reading the letter Umlauts ü(Unicode Character: \U+00FC)