.Net Core / Net ASP Coreat TECH.Net Core / Net ASP Core - 暇つぶし2ch■コピペモード□スレを通常表示□オプションモード□このスレッドのURL■項目テキスト988:デフォルトの名無しさん 21/04/04 19:41:37.18 QB2WenPb.net VB.NETが残ったな 989:デフォルトの名無しさん 21/04/16 08:28:45.17 yjbuMFT7.net System.IO.Compression.ZipArchiveがSJISのエントリをencoding未指定時に正しく読まないので調べた https://docs.microsoft.com/en-us/dotnet/api/system.io.compression.ziparchive.-ctor?redirectedfrom=MSDN&view=net-5.0#System_IO_Compression_ZipArchive__ctor_System_IO_Stream_System_IO_Compression_ZipArchiveMode_System_Boolean_System_Text_Encoding_ >When the language encoding flag (in the general-purpose bit flag of the local file header) is not set, the current system default code page is used to decode the entry name. ちゃんと対応してるのかと思いきや https://github.com/dotnet/runtime/blob/a551a99ed3f36284816123ae334eb8c58eeee184/src/libraries/System.IO.Compression/src/System/IO/Compression/ZipArchiveEntry.cs#L399 結局コードページなんか無視してUTF-8じゃねえか ドキュメントに嘘書くのやめろ 次ページ最新レス表示レスジャンプ類似スレ一覧スレッドの検索話題のニュースおまかせリストオプションしおりを挟むスレッドに書込スレッドの一覧暇つぶし2ch