MII content having chinese character in filenames not opening in Web Browsers
Many users have been facing issues with MII content having Chinese characters. In MII workbench, files having Chinese characters in the filename such as “http://<server>:<port>/XMII/CM/I064931/Chinesecharacter’sisue/ぼぢ.gif” are opening perfectly fine :-
But, when the same files are opened by copying and pasting the link in the web browsers, we receive the following error:-
From the error we can see that even the file name containing the Chinese characters has been changed, i.e., Chinese characters have been replaced by “??” (question marks), while the actual URL of the file is :- http://localhost:50000/XMII/CM/I064931/Chinese%20character’s%20isue/ぼぢ%20%20.gif
As Net Weaver hasn’t been configured to support Unicode Characters in the URL, we are getting the above mentioned error. To resolve this we will have to manually configure the Net Weaver by adding parameter “file.encoding” with value “UTF-8” for the respective node under the “VM Parameters“–>“System” tab . After adding the parameter, do remember to enable it from the button given at the bottom of the screen. Now save the changes and simply restart the instance as requested by the Config tool.
After performing these changes the file link containing the Chinese characters will be able to open correctly in the web browsers, without any issue:-