Welcome! Log In Create A New Profile

Advanced
Re: LDForge
avatarMay 24, 2013 10:24AM
Quote
Santeri Piippo

Quote
Philippe Hurbain
- It seems that I can't open a file whose name or path contains accentuated characters (sorry, I'm French ;)

hm. Never took accents into account.. I'll bet it's an issue with encodings.

I had the same problem with LDCad, the problem is Linux uses UTF8 across the board, but many windows api's (like lowlevel file io) still use the local code page. So you probably have to convert strings before passing them to low level file io functions using 'wcstombs'. This is only needed for window versions. I use an asOSMBStr method in my string class that returns utf8 on linux and whatever the wcstombs returns on windows. You then use the method whenever you need to pass a filename to an api. It's one of the very few functions that needs a different implementation depending on platform.

If you use some kind of string/io library wrapper (NOT plain STD) this should be done automatically though, or maybe it's disabled by default.
SubjectAuthorViewsPosted
[0.2.1] LDForge Santeri Piippo1707March 22, 2013 11:48AM
Re: LDForge Roland Melkert474March 22, 2013 01:20PM
Re: LDForge Santeri Piippo291May 22, 2013 01:14PM
Re: LDForge Santeri Piippo338May 22, 2013 01:16PM
Re: LDForge Philippe Hurbain263May 23, 2013 12:41AM
Re: LDForge Michael Heidemann434March 22, 2013 02:17PM
Re: LDForge Santeri Piippo383March 23, 2013 03:56PM
Re: LDForge Tim Gould326March 23, 2013 04:01PM
Re: LDForge Philippe Hurbain428March 23, 2013 11:55PM
Re: LDForge Santeri Piippo374March 24, 2013 04:15PM
Re: LDForge Michael Heidemann389March 25, 2013 12:59AM
Re: LDForge Santeri Piippo340March 31, 2013 08:20AM
Re: LDForge Michael Heidemann352March 31, 2013 11:34AM
Re: LDForge Santeri Piippo333April 03, 2013 03:35AM
Re: LDForge yugioh356April 03, 2013 12:00PM
Re: LDForge Santeri Piippo339April 05, 2013 05:07AM
Re: LDForge Santeri Piippo357April 16, 2013 10:20AM
Re: LDForge Philippe Hurbain325April 16, 2013 10:50AM
Re: LDForge Santeri Piippo360May 05, 2013 06:16AM
Re: LDForge Michael Heidemann321May 05, 2013 07:24AM
Re: LDForge Santeri Piippo305May 22, 2013 06:17AM
Re: LDForge Philippe Hurbain282May 22, 2013 07:25AM
Re: LDForge Magnus Forsberg331May 22, 2013 08:52AM
Re: LDForge Santeri Piippo302May 22, 2013 01:17PM
Re: LDForge Philippe Hurbain291May 23, 2013 12:46AM
Re: LDForge Rolf Osterthun268May 23, 2013 04:09AM
Re: LDForge Santeri Piippo316May 23, 2013 06:39AM
Re: LDForge Santeri Piippo296May 23, 2013 01:22PM
Re: LDForge Philippe Hurbain263May 23, 2013 01:37PM
Re: LDForge Santeri Piippo319May 23, 2013 01:50PM
Re: LDForge Magnus Forsberg310May 23, 2013 03:40PM
Re: LDForge Philippe Hurbain277May 24, 2013 06:13AM
Re: LDForge Santeri Piippo270May 24, 2013 08:12AM
Re: LDForge Philippe Hurbain268May 24, 2013 08:39AM
Re: LDForge Roland Melkert303May 24, 2013 10:24AM
Re: LDForge Santeri Piippo339May 24, 2013 12:19PM
Re: LDForge Santeri Piippo340June 14, 2013 09:11AM
Re: LDForge Santeri Piippo313June 15, 2013 03:31PM
Re: LDForge Fyodor Kolov241August 06, 2013 03:33AM
Re: LDForge Santeri Piippo235August 16, 2013 02:55PM
Re: [0.1 Alpha] LDForge Santeri Piippo360July 05, 2013 03:32PM
Re: [0.1 Alpha] LDForge Philippe Hurbain301July 10, 2013 08:45AM
Re: [0.2 Alpha] LDForge Santeri Piippo315July 09, 2013 04:55PM
Re: [0.2 Alpha] LDForge Santeri Piippo284July 17, 2013 06:26AM
Re: [0.2 Alpha] LDForge Santeri Piippo248August 02, 2013 06:34PM
Re: [0.2 Alpha] LDForge Santeri Piippo231September 22, 2013 01:11PM
Re: [0.2 Alpha] LDForge Philippe Hurbain218November 11, 2013 05:14AM
Re: [0.2 Alpha] LDForge Santeri Piippo192December 19, 2013 04:03AM
Re: [0.2 Alpha] LDForge Philippe Hurbain172December 19, 2013 05:29AM
Re: [0.2 Alpha] LDForge Santeri Piippo172December 19, 2013 06:14AM
Re: [0.2 Alpha] LDForge Santeri Piippo233October 16, 2013 05:59AM
Re: [0.2 Alpha] LDForge Michael Heidemann187October 16, 2013 09:14AM
Re: [0.2 Alpha] LDForge Santeri Piippo203October 16, 2013 09:26AM
Re: [0.2 Alpha] LDForge Michael Heidemann201October 16, 2013 09:56AM
Re: [0.2 Alpha] LDForge Santeri Piippo164October 16, 2013 10:01AM
Re: [0.2 Alpha] LDForge Santeri Piippo281October 16, 2013 12:08PM
Re: [0.2.1] LDForge Santeri Piippo170December 19, 2013 05:27AM
Re: [0.2.1] LDForge Michael Heidemann173December 20, 2013 11:40PM
Re: [0.2.1] LDForge Stan Isachenko183December 21, 2013 09:41AM
Re: [0.2.1] LDForge Michael Heidemann182December 21, 2013 11:50AM
Re: [0.2.1] LDForge Michael Heidemann191December 21, 2013 12:00PM
Re: [0.2.1] LDForge Santeri Piippo197December 22, 2013 06:01AM
Re: [0.2.1] LDForge Santeri Piippo174January 22, 2014 03:41AM
Re: [0.2.1] LDForge Roland Melkert178January 22, 2014 09:16AM
Re: [0.2.1] LDForge Santeri Piippo191January 22, 2014 02:23PM
Re: [0.2.1] LDForge Tim Gould187January 22, 2014 02:26PM
Re: [0.2.1] LDForge Roland Melkert180January 22, 2014 02:42PM
Re: [0.2.1] LDForge Santeri Piippo205January 23, 2014 08:15AM
Re: [0.2.1] LDForge Travis Cobbs178January 23, 2014 10:37AM
Re: [0.2.1] LDForge Santeri Piippo147January 23, 2014 12:44PM
Re: [0.2.1] LDForge Roland Melkert186January 23, 2014 01:04PM
Re: [0.2.1] LDForge Travis Cobbs157January 23, 2014 02:34PM
Re: [0.2.1] LDForge Santeri Piippo175January 24, 2014 08:30AM
Re: [0.2.1] LDForge Roland Melkert144January 24, 2014 10:03AM
Re: [0.2.1] LDForge Santeri Piippo152January 24, 2014 10:45AM
Re: [0.2.1] LDForge Roland Melkert135January 24, 2014 11:16AM
Re: [0.2.1] LDForge Santeri Piippo176January 24, 2014 11:24AM
Re: [0.2.1] LDForge Santeri Piippo175January 24, 2014 11:44AM
Re: [0.2.1] LDForge Roland Melkert158January 24, 2014 11:50AM
Re: [0.2.1] LDForge Santeri Piippo173January 24, 2014 11:53AM
Re: [0.2.1] LDForge Roland Melkert162January 24, 2014 11:54AM
Re: [0.2.1] LDForge Santeri Piippo179January 24, 2014 11:57AM
Re: [0.2.1] LDForge Roland Melkert153January 24, 2014 12:03PM
Re: [0.2.1] LDForge Santeri Piippo185January 24, 2014 12:14PM
Re: [0.2.1] LDForge Santeri Piippo140February 25, 2014 06:20AM
Re: [0.2.1] LDForge Santeri Piippo188January 24, 2014 12:05PM
Re: [0.2.1] LDForge Roland Melkert201January 24, 2014 11:52AM
Re: [0.2.1] LDForge Santeri Piippo180February 25, 2014 06:21AM
Re: [0.2.1] LDForge Santeri Piippo210March 24, 2014 11:17AM
Re: [0.2.1] LDForge Willy Tschager137March 31, 2014 11:18AM
Re: [0.2.1] LDForge Santeri Piippo152March 31, 2014 11:37AM
Re: [0.2.1] LDForge Willy Tschager137March 31, 2014 12:06PM
Re: [0.2.1] LDForge Santeri Piippo133March 31, 2014 12:24PM
Re: [0.2.1] LDForge Santeri Piippo190April 17, 2014 11:49AM
Re: [0.2.1] LDForge Santeri Piippo127July 03, 2014 11:06AM
Re: [0.2.1] LDForge Santeri Piippo94July 29, 2014 01:47PM
Re: [0.2.1] LDForge Philippe Hurbain86July 30, 2014 06:34AM
Re: [0.2.1] LDForge Santeri Piippo93August 31, 2014 10:33AM



Sorry, only registered users may post in this forum.

Click here to login