Hi,
Developed a program to update the custom metadata property and it is working fine But when we update the title in custom metadata property for locale language (German, French, Italian, Spanish), it is showing funky character.
I am putting the snippet of the code
-
Java Code -
if (propertyFile != null) {
BufferedReader in =
new BufferedReader(
new InputStreamReader(
propertyFile.getContent().getInputStream()));
String s = "";
//first line is heading. Ignore it
in.readLine();
while ((s = in.readLine()) != null) {
-
I want to convert input stream into utf-8 format, so that it will work for all languages.
Kindly suggest the solution how to handle the problem programmatically.
Warm Regards,
Sanjeev Mourya