Hello Guest

getCodeSource.getLocation() and Unicode paths

  • 6 Replies
  • 12836 Views
getCodeSource.getLocation() and Unicode paths
« on: October 11, 2007, 15:45:51 »
« Last Edit: October 11, 2007, 15:56:53 by HappyCat »

*

Offline Matzon

  • *****
  • 2242
Re: getCodeSource.getLocation() and Unicode paths
« Reply #1 on: October 11, 2007, 19:12:30 »
odd, sounds a bit like a bug?
Might want to check the source code

Re: getCodeSource.getLocation() and Unicode paths
« Reply #2 on: October 11, 2007, 21:11:52 »

Re: getCodeSource.getLocation() and Unicode paths
« Reply #3 on: October 12, 2007, 13:31:56 »

*

Offline princec

  • *****
  • 1933
    • Puppygames
Re: getCodeSource.getLocation() and Unicode paths
« Reply #4 on: October 12, 2007, 17:49:51 »
Maybe you should explicitly specify what charset you want to use everywhere, such as UTF-8.

Cas :)

Re: getCodeSource.getLocation() and Unicode paths
« Reply #5 on: October 12, 2007, 19:45:17 »
Thanks, I'll give it a try.

Re: getCodeSource.getLocation() and Unicode paths
« Reply #6 on: October 15, 2007, 11:20:11 »
Yep - it works if I specify "UTF-8" - thanks Cas.

Strange as both machines were returning "windows-1252" anyway, but main thing is that it's working now   :)
« Last Edit: October 15, 2007, 11:21:43 by HappyCat »