[bug #39900] unar: Uncaught exception NSCharacterConversionException, reason: Can't get cString from Unicode string.

2013-08-30 Thread Daimonion
Follow-up Comment #7, bug #39900 (project gnustep): Hi Eric. No, I'm running the latest stable version, 1.24.5, but I've also tried versions 1.24.0 (with which the unar worked fine before) through 1.24.4. And yes, unar is a command line tool, you can get its sources from here: https://code.googl

[bug #39900] unar: Uncaught exception NSCharacterConversionException, reason: Can't get cString from Unicode string.

2013-08-30 Thread Eric Wasylishen
Follow-up Comment #6, bug #39900 (project gnustep): Hey Daimonion, Are you running a recent svn build of gnustep-back? This change I made could potentially mess up character encoding related things: "r37002 | ericwa | 2013-08-21 16:30:15 -0600 (Wed, 21 Aug 2013) | 8 lines * Source/x11/XIMInputSe

[bug #39900] unar: Uncaught exception NSCharacterConversionException, reason: Can't get cString from Unicode string.

2013-08-30 Thread Daimonion
Follow-up Comment #5, bug #39900 (project gnustep): I've tried gnustep-base v1.24.0 (which I definitely had no issues with), and the same error. Downgrading to unar v1.6 (which definitely worked) solved nothing, issue is still present. The only conclusion is that some other thing (which recently g

[bug #39900] unar: Uncaught exception NSCharacterConversionException, reason: Can't get cString from Unicode string.

2013-08-30 Thread Daimonion
Follow-up Comment #4, bug #39900 (project gnustep): Fred, still no backtrace: http://pastebin.com/hjcfdUih The encoding should be UTF-8: % echo $LANG sr_RS.UTF-8 Again, these problems started recently. It used to work before. I'm gonna try previous versions of gnustep-base as well as unar.

[bug #39900] unar: Uncaught exception NSCharacterConversionException, reason: Can't get cString from Unicode string.

2013-08-30 Thread Fred Kiefer
Follow-up Comment #3, bug #39900 (project gnustep): I am no gdb expert, but I normally start it with just the program as argument, set my breakpoints and then give the arguments to the r command. In this case something like: gdb unar b GSPrivateDefaultCStringEncoding r arhiva.zip Which encoding

[bug #39900] unar: Uncaught exception NSCharacterConversionException, reason: Can't get cString from Unicode string.

2013-08-30 Thread Daimonion
Follow-up Comment #2, bug #39900 (project gnustep): Fred, it works with 'export GNUSTEP_STRING_ENCODING=UTF-8'. I have gdb installed, but I'm not sure how to start the debugging. I've tried with gdb --args unar arhiva.zip but it ended before the backtrace could be generated. __

[bug #39900] unar: Uncaught exception NSCharacterConversionException, reason: Can't get cString from Unicode string.

2013-08-30 Thread Fred Kiefer
Follow-up Comment #1, bug #39900 (project gnustep): Most likely the problem is that GNUstep detects your system encoding differently from what you expect. Now the best way to see what gets detected and why, is to go through the function GSPrivateDefaultCStringEncoding() with a debugger. If this is

[bug #39900] unar: Uncaught exception NSCharacterConversionException, reason: Can't get cString from Unicode string.

2013-08-30 Thread Daimonion
URL: Summary: unar: Uncaught exception NSCharacterConversionException, reason: Can't get cString from Unicode string. Project: GNUstep Submitted by: daimonion Submitted on: Fri 30 Aug 2013 12:59:48 PM