Message9311

Author Arfrever
Recipients Arfrever, jeff.allen, zyasoft
Date 2015-01-06.16:17:57
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1420561078.3.0.542403673174.issue2239@psf.upfronthosting.co.za>
In-reply-to
Content
> But the underlying Java platform doesn't support this scenario anyway:
> 
> >>> from java.io import File
> >>> File("/tmp/somedir").list()
> 
> returns None

I get array with REPLACEMENT CHARACTER, not None:

$ jython2.7 -c 'from java.io import File; print(File("/tmp/some_dir").list())'
array(java.lang.String, [u'\ufffd'])
$ jython2.7 -c 'import unicodedata; print(unicodedata.name(u"\ufffd"))'
REPLACEMENT CHARACTER

I use IcedTea 2.5.3 (Java 1.7.0_71).
History
Date User Action Args
2015-01-06 16:17:58Arfreversetmessageid: <1420561078.3.0.542403673174.issue2239@psf.upfronthosting.co.za>
2015-01-06 16:17:58Arfreversetrecipients: + Arfrever, zyasoft, jeff.allen
2015-01-06 16:17:58Arfreverlinkissue2239 messages
2015-01-06 16:17:57Arfrevercreate