View Issue Details

IDProjectCategoryView StatusLast Update
0001813OpenMPTlibopenmptpublic2024-09-08 12:24
ReporterSaga Musix Assigned Tomanx  
PrioritynormalSeverityfeatureReproducibilityN/A
Status assignedResolutionopen 
Product VersionOpenMPT 1.31.09.00 / libopenmpt 0.7.9 (upgrade first) 
Target VersionOpenMPT 1.32 / libopenmpt 0.8 (goals) 
Summary0001813: Transliterate ASCII control codes to printable UTF-8
Description

Some DOS trackers allow ASCII control codes to be used in song messages. For example, consider this 669 module: https://ftp.modland.com/pub/modules/Composer%20669/Buttwheet/the%20ritual!.669

Several ASCII codes below 32 are used in the song message, using the standard CP437 characters assigned to those codes (see attached screenshot). libopenmpt should probably transcibe those control characters to normal printable UTF-8 characters. Full support for control characters 10 and 13 may not be possible until full unicode string support is implemented for CSoundFile, as the conversion to printable unicode characters would have to happen before the three-line fixed length message field in 669 files is converted into a multi-line string.

TagsNo tags attached.
Attached Files
669ascii.png (719 bytes)   
669ascii.png (719 bytes)   
Has the bug occurred in previous versions?
Tested code revision (in case you know it)

Activities

Issue History

Date Modified Username Field Change
2024-09-08 12:15 Saga Musix New Issue
2024-09-08 12:15 Saga Musix Status new => assigned
2024-09-08 12:15 Saga Musix Assigned To => manx
2024-09-08 12:15 Saga Musix File Added: 669ascii.png
2024-09-08 12:24 manx Product Version => OpenMPT 1.31.09.00 / libopenmpt 0.7.9 (upgrade first)
2024-09-08 12:24 manx Target Version => OpenMPT 1.32 / libopenmpt 0.8 (goals)