v1.3.2: Unicode Path Fix & Persian Language Support

WhisperSubTranslate v1.3.2 fixes a critical bug that caused subtitle extraction to fail when file paths contained Chinese, Japanese, or Korean characters. This update also adds Persian (Farsi) as the 14th translation target language.

What's New in v1.3.2:
  • Unicode Path Fix - Files with CJK characters in path/filename now work correctly
  • Persian Language - Added as 14th translation target language
  • Log Auto-Cleanup - Automatic log file management (2MB limit)

Unicode Path Bug Fix

Users reported that files in folders with Chinese, Japanese, or Korean names would fail during subtitle extraction. The log showed filenames being corrupted to question marks (???).

# Before v1.3.2 - Path corruption example Original: D:\Videos\【日本語】テスト動画\video.mp4 Corrupted: D:\Videos\?????????\video.mp4 # whisper-cli.exe would fail with "file not found"

Root Cause

The issue was in how Node.js passes Unicode paths to external processes on Windows. When spawning whisper-cli.exe, UTF-8 encoded paths with CJK characters were being corrupted during the encoding conversion.

The Solution: Safe Temp + Copy Pattern

v1.3.2 implements a "Safe Temp + Copy" pattern that automatically handles non-ASCII paths:

1. Detect Non-ASCII

Automatically detects if file path contains non-ASCII characters (Chinese, Japanese, Korean, etc.)

2. Copy to Safe Temp

Copies the file to a temporary directory with ASCII-safe path for processing.

3. Process & Return

Processes the file normally, then copies the result back to the original location.

# v1.3.2 - Safe Temp + Copy Flow 1. Detect: "D:\Videos\【日本語】\video.mp4" contains non-ASCII 2. Copy to: "C:\Users\...\AppData\Local\Temp\wst_safe_xxxxx\video.mp4" 3. Process with whisper-cli.exe (no Unicode issues!) 4. Copy result back to original folder 5. Clean up temp files Result: "D:\Videos\【日本語】\video.srt" created successfully!

Persian Language Support

Persian (Farsi) is now available as a translation target language. This was a community-requested feature.

Translation Engine Persian Support
MyMemory (Free) ✓ Supported
OpenAI GPT ✓ Supported
Google Gemini ✓ Supported
DeepL ✗ Not Supported

Note: When DeepL is selected as the translation engine, Persian will be automatically disabled in the language dropdown since DeepL does not support Persian translation.

Log Auto-Cleanup

Translation error logs now have automatic size management to prevent unlimited growth:

How to Update

  1. Download v1.3.2 from Releases
  2. Extract and replace your existing installation
  3. Your settings, API keys, and models are preserved
Affected Users: If you previously had issues with Chinese, Japanese, or Korean characters in your file paths or folder names, please update to v1.3.2. The Safe Temp + Copy pattern will handle these cases automatically.

Thank you for your bug reports and feature requests! They help make WhisperSubTranslate better for everyone.