| Summary: | wince SDL_RWFromFile "Couldn't open file.." | ||
|---|---|---|---|
| Product: | SDL | Reporter: | Andrey <afletdinov> |
| Component: | file | Assignee: | Ryan C. Gordon <icculus> |
| Status: | RESOLVED INVALID | QA Contact: | Sam Lantinga <slouken> |
| Severity: | normal | ||
| Priority: | P2 | ||
| Version: | HG 1.2 | ||
| Hardware: | Other | ||
| OS: | Windows (CE)/PocketPC | ||
| Attachments: | sdl_rwfromfile_wice | ||
This patch just disables the Win32 file opening routines. What's likely is that there is a bug in win32_file_open() for the WinCE codepath that needs to be fixed. You can't pass strings encoded with windows-1251 charset to the RWOPS routines. Resolving bug as INVALID. If you pass a string in UTF-8 encoding, this will work. If it doesn't work with UTF-8, then feel free to reopen this bug. Thanks! --ryan. |
Created attachment 472 [details] sdl_rwfromfile_wice If used in the path localized symbols, I get this error. sdl error: Couldn't open \Карта Памяти\fheroes2\files\fonts\dejavusans.ttf - windows-1251 charset Small patch fixes this.