Compatibility Issue with Non-ASCII User Profile Path in STM32CubeMX
Dear STMicroelectronics Support Team,
I am writing to report a critical compatibility issue in STM32CubeMX related to user profile paths containing non-ASCII characters (e.g., Turkish characters like "Ö"). This issue prevents the software from functioning correctly after the first launch and causes persistent errors in subsequent sessions.
Issue Details
- User Profile Path:
My Windows username contains a non-ASCII character (Öxxx), resulting in the default profile path:
C:\Users\Öxxx\.stmcufinder
C:\Users\Öxxx\.stm32cubemx - Observed Errors:
- STM32CubeMX fails to initialize properly on the second launch.
- Temporary Workaround:
Creating a new Windows user with ASCII-only username (e.g., "Omer") resolves the issue, confirming that the problem stems from non-ASCII characters in the profile path.
Requested Fixes/Improvements
- Unicode Path Support:
Update STM32CubeMX to fully support Unicode/non-ASCII characters in file and directory paths. - User-Defined Data Directory:
Allow users to specify a custom data directory during installation or via a configuration file (e.g., stm32cubemx.ini). - Clear Error Messaging:
Provide user-friendly error messages when path-related issues occur, guiding users to resolve conflicts (e.g., "Non-ASCII characters detected in user profile path. Please specify a custom data directory."). - Documentation Update:
Add a troubleshooting section in the official documentation addressing non-ASCII username limitations and workarounds.
Why This Matters
Many users worldwide have non-ASCII characters in their system usernames due to language-specific naming conventions. This issue creates unnecessary barriers for engineers relying on STM32CubeMX for critical projects.
System Information
- STM32CubeMX Version: 6.14.0
- OS: Windows 11 Pro (23H2)
- Java Version: 8
- User Profile Path: C:\Users\Ömer
Please let me know if additional details or log files are required. I hope this feedback helps improve STM32CubeMX’s accessibility for all users.
Thank you for your attention to this matter.Best regards,
Ömer
