Quantcast
Channel: Active questions tagged utf-8 - Stack Overflow
Viewing all articles
Browse latest Browse all 1135

Docker read files from network drive with unicode characters in name

$
0
0

I have a .net application which runs in a Linux Docker conatainer.I have mounted a Windows folder via network share.Some file names contain Unicode characters (Georgian letters in my case) and I am unavailable to read those files as I am getting an exception:

System.Exception: 'Could not find file '/data/TEST/ტესტ 2024-04-15 173605.png'.'

Of course this file exists on disk. I have checked the mounted folder from Docker desktop and from the shell, and those files are displayed with question marks.I have also tested Directory.GetFiles(directory); and the same all files are with question marks.I think there is problem in mounting network drive. Here is my code for it:

volumes:  sapvolume:    driver: local    driver_opts:      type: cifs      o: "username=administrator2,password=1234,vers=3.0"      device: "//10.132.10.101/Attachments_Folder"

Viewing all articles
Browse latest Browse all 1135

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>