The issue is related to character encoding . Please ensure you are using UTF-8 when i had this encoding i can see the correct output .
Steps to check the character encoding you are using is UTF-8 or not :
Note: Iam using Apache Netbeans IDE 23