Message9311
> 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). |
|
Date |
User |
Action |
Args |
2015-01-06 16:17:58 | Arfrever | set | messageid: <1420561078.3.0.542403673174.issue2239@psf.upfronthosting.co.za> |
2015-01-06 16:17:58 | Arfrever | set | recipients:
+ Arfrever, zyasoft, jeff.allen |
2015-01-06 16:17:58 | Arfrever | link | issue2239 messages |
2015-01-06 16:17:57 | Arfrever | create | |
|