First point that need tested
1. pass to parse_url() a bad url, for example: JString::parse_url('http:///www.mysite.com/dir');
Seccond:
1. Set Use Unicode Alias to Yes in Global Configuration
2. Pick up or make for example a single article menu item (not Home) and change/create its alias to contain unicode (Example: moç-contøct)
3. Click on the menu item before and after patch.
4. Bevor and after the patch you will get the same page without error.
OK now. Merging. Thanks