While trying to use Shrinksafe custom_rhino.jar to build Dojo I get MalformedInputException. The problem occurs when build reaches custom widgets/templates which contain french letters stored in UTF-8. The AIX machine has LANG=en_US which should be correct, judging by other documented problems regarding MalformedInputException with IBM JRE.
Switching to Sun's JRE is not acceptable solution as this build must run on IBM AIX. It is possible that a solution might be in changing something in AIX or a setting in IBM JRE or both. So far I've been unsuccessful.
Problem is also described in dojo forum but without proper resolution.