ModPlug Central
Website
|
Downloads
|
Issue Tracker
|
English Wiki
|
German Wiki
Discover the music inside...
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Home
Help
Search
Login
Register
ModPlug Central
»
OpenMPT Development (Archive)
»
Bug Reports
»
Bug Report Archive
»
1.17.02.48 load sample fails with special character
« previous
next »
Print
Pages: [
1
]
Author
Topic: 1.17.02.48 load sample fails with special character (Read 8456 times)
le_parasite
Inspired artist
Posts: 58
http://www.facebook.com/Le.parasite.000
Operating System: Windows 10
1.17.02.48 load sample fails with special character
«
on:
March 11, 2008, 02:19:08 »
Full Version:
OpenMPT v1.17.02.48
Has the bug occured in previous versions?
I dont know
Description of the bug:
maybe due to some windows bug, but when you try to load a sample with special "letter", the sample won't load.
How often does it happen?:
always
How to reproduce (step by step description):
name a sample "Dvořák.wav" and try to upload it.
Edit: More information is available on the
issue tracker
.
«
Last Edit: August 22, 2011, 19:28:09 by Jojo
»
Logged
L∑ PДRДSiT∑______________________________________
I
ғᴀᴄᴇʙᴏᴏᴋ
I
ᴛᴡɪᴛᴛᴇʀ
I
sᴏᴜɴᴅᴄʟᴏᴜᴅ
I
ʙᴀɴᴅᴄᴀᴍᴘ
Saga Musix
OpenMPT Developers
Posts: 7,141
aka Jojo
Operating System: Windows 10 x64
.48 load sample fails with special character
«
Reply #1 on:
March 11, 2008, 13:01:45 »
Hm, i sense unicode incompatiblities here...
Logged
»
No support, bug reports, feature requests via private messages - they will not be answered. Use the forums and the
issue tracker
so that everyone can benefit from your post.
Sam_Zen
Extreme artist
Posts: 3,689
.48 load sample fails with special character
«
Reply #2 on:
March 11, 2008, 23:15:48 »
I guess so too.
Logged
0.618033988
Saga Musix
OpenMPT Developers
Posts: 7,141
aka Jojo
Operating System: Windows 10 x64
.48 load sample fails with special character
«
Reply #3 on:
October 13, 2008, 20:13:25 »
The strange thing is that this filename is always passed as "Dvorák.wav" to MPT, not only when opening a sample but also in the treeview... So maybe the WinApi passes a "optimized for non-unicode platforms" version of that string to modplug...?
Logged
»
No support, bug reports, feature requests via private messages - they will not be answered. Use the forums and the
issue tracker
so that everyone can benefit from your post.
LPChip
Administrator
Posts: 5,104
Operating System: Windows 10 Pro x64
.48 load sample fails with special character
«
Reply #4 on:
October 14, 2008, 06:10:10 »
The ř char isn't part of the standard ascii table. Its an extended char, whereas the á is part of the standard ascii table.
And by standard, I mean 0-255.
Logged
"Heh, maybe I should've joined the compo only because it would've meant I wouldn't have had to worry about a damn EQ or compressor for a change. " - Atlantis
"yes.. I think in this case it was wishful thinking: MPT is makng my life hard so it must be wrong" - Rewbs
Saga Musix
OpenMPT Developers
Posts: 7,141
aka Jojo
Operating System: Windows 10 x64
.48 load sample fails with special character
«
Reply #5 on:
October 14, 2008, 09:41:40 »
I know that!
But I'm not sure what causes the bug here, maybe I have to learn about more about string types in C++....
Logged
»
No support, bug reports, feature requests via private messages - they will not be answered. Use the forums and the
issue tracker
so that everyone can benefit from your post.
bvanoudtshoorn
Extreme artist
Posts: 1,053
Gender:
.48 load sample fails with special character
«
Reply #6 on:
October 14, 2008, 10:15:40 »
I'd guess that it's a conversion issue; ie, the filename's represented in format x in the system, is converted to format y for modplug, and then modplug tries to open the file using format y, and the system complains. But I'm just guessing.
This MSDN section
might be useful, though.
Logged
www.barryvan.com.au
Saga Musix
OpenMPT Developers
Posts: 7,141
aka Jojo
Operating System: Windows 10 x64
.48 load sample fails with special character
«
Reply #7 on:
October 14, 2008, 12:13:41 »
Well, the filename is retrieved from a CFileDialog object. I directly tried to route that filename to a MessageBox (without a temporary variable) and it was still non-unicode.
Logged
»
No support, bug reports, feature requests via private messages - they will not be answered. Use the forums and the
issue tracker
so that everyone can benefit from your post.
LPChip
Administrator
Posts: 5,104
Operating System: Windows 10 Pro x64
.48 load sample fails with special character
«
Reply #8 on:
October 14, 2008, 13:35:09 »
So this dialog gives the wrong filename back? Maybe there's a setting in the dialog to enable it. Otherwise, the control needs to be updated.
Logged
"Heh, maybe I should've joined the compo only because it would've meant I wouldn't have had to worry about a damn EQ or compressor for a change. " - Atlantis
"yes.. I think in this case it was wishful thinking: MPT is makng my life hard so it must be wrong" - Rewbs
Saga Musix
OpenMPT Developers
Posts: 7,141
aka Jojo
Operating System: Windows 10 x64
Re: 1.17.02.48 load sample fails with special character
«
Reply #9 on:
August 22, 2011, 19:27:47 »
I'll close this one as a
related issue
has been posted on the issue tracker.
Logged
»
No support, bug reports, feature requests via private messages - they will not be answered. Use the forums and the
issue tracker
so that everyone can benefit from your post.
Print
Pages: [
1
]
« previous
next »
ModPlug Central
»
OpenMPT Development (Archive)
»
Bug Reports
»
Bug Report Archive
»
1.17.02.48 load sample fails with special character