Horde3D

Next-Generation Graphics Engine
It is currently 22.12.2024, 12:50

All times are UTC + 1 hour




Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: 02.06.2011, 20:25 
Offline

Joined: 17.11.2009, 17:00
Posts: 205
Location: Russia, Moscow
Horde utils has a great function for loading data from disk, but it has problems if the path, where content directory is located, contains non ANSI characters (for example, cyrillic characters). The problem is in the generated "filename" string, that is sent to the ifstream. It seems that this string is always using some standard charset and not the system default one. I made a small patch that fixes this problem by converting the "filename" string to the system's default charset.


Attachments:
File comment: This patch adds support for reading files that contain non ANSI characters in its path
HordeUtils_loccharset_support.patch [1.18 KiB]
Downloaded 867 times
Top
 Profile  
Reply with quote  
PostPosted: 06.06.2011, 22:36 
Offline
Engine Developer

Joined: 10.09.2006, 15:52
Posts: 1217
Thanks, that's definitely useful for reference.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 8 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group