Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PCMAN 9.5.0 Beta3, 開啟ANSI彩色檔 (*.ans 檔案)時, 對檔案名稱或路徑有相容問題 #53

Open
Wer518 opened this issue May 25, 2021 · 1 comment

Comments

@Wer518
Copy link

Wer518 commented May 25, 2021

之前在9.5.0Beta2 有反應過相同問題, 因為看到Beta3的relaeae note提到有解,
下載後安裝, 看起來情況跟之前一樣, 所以再回報一下.

使用環境 :
Win10 20H2,下載PCMAN.exe (版本9.5.0 Beta3) 進行安裝,安裝完成後滑鼠雙擊 *.ans檔案,發現:

  1. [情報] Creative T20II又特價1990元了.ans 放置於B:\根目錄下, 滑鼠雙擊後無法開啟 (圖一)
    但如果用選單 : ANSI編輯 -> 開啟舊檔 -> 手動選擇上述檔案則正常 (圖二)

  2. *.ans 檔案若放到多層目錄下, 譬如
    B:\PC類產品[家電] 兩件式喇叭 多聲道喇叭[情報] Creative T20II又特價1990元了.ans , 滑鼠雙擊後無法開啟 (圖三)
    但如果用選單 : ANSI編輯 -> 開啟舊檔 -> 手動選擇上述目錄下面的檔案則正常 (圖四)

PS. 軟體版本見 (圖五)

(圖一)
1
(圖二)
2
(圖三)
3
(圖四)
4
(圖五)
5

@IepIweidieng
Copy link

IepIweidieng commented May 16, 2023

測試:Windows 11 22H2,日文環境;正體中文環境使用 Locale Emulator 模擬。

  • ✅ 日文環境,路徑:C:\[情報] Creative T20II又特價1990元了.ans,雙擊/拖拉開啟。(正常)
    image
    • 注意統一資源定位符 (URL) 開頭爲 file://,兩個 /
    • 注意 \ 被正常替換爲日文環境中同編碼的 ¥
  • ❌ 日文環境,路徑:C:\PC類產品\[家電] 兩件式喇叭 多聲道喇叭\[情報] Creative T20II又特價1990元了.ans,對話框開啟。(無法開啟分頁)
  • ❌ 同上,但雙擊/拖拉開啟。(異常開啟空白檔案)
    image
    • 由系統編碼造成。但顯示的路徑仍爲完整路徑。
    • 注意 URL 開頭爲 file:///,三個 /
  • ✅ 日文環境,路徑:C:\PC類産品\[家電] 兩件式喇叭 多聲道喇叭\[情報] Creative T20II又特價1990元了.ans(「產」置換爲日文新字體「産」),雙擊/拖拉開啟。(正常)
    image
  • ❌ 正體中文環境,路徑:C:\Users\User\Desktop\[A] A.ans,雙擊/拖拉開啟。(異常開啟空白檔案)
    image
  • ✅ 正體中文環境,路徑:C:\Users\User\Desktop\[A]A.ans(無空格),雙擊/拖拉開啟。(正常)
    image
  • ❌ 正體中文環境,路徑:C:\Users\User\Desktop\✅.ans,對話框開啟。(無法開啟分頁)
  • ❌ 正體中文環境,路徑:C:\Users\User\Desktop\✅.ans,雙擊/拖拉開啟。(異常開啟空白檔案)
    image

結論:

  • 在正體中文環境中,路徑含有空格會造成異常開啟空白檔案。
  • 路徑含有非 UTF-8 編碼環境所不支援的字元時,雙擊/拖拉開啟會異常開啟空白檔案,對話框開啟則無法開啟分頁。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants