sephiroth74 / Android-Exif-Extended

Exif extended library for Android, based on jhead c library (http://www.sentex.net/~mwandel/jhead/)
Other
135 stars 45 forks source link

How to write a Tamil text in Exif tags #19

Open NandhiniNadajan opened 6 years ago

NandhiniNadajan commented 6 years ago

I am trying to write both Tamil and English text in Exif tags but it displays ???? for Tamil text alone. Is there any other way to write Tamil text in Exif tag?

ExifInterface exif = new ExifInterface(someFile.getPath()); String text="ENGLISHதமிழ்"; exif.setAttribute(ExifInterface.TAG_IMAGE_DESCRIPTION,text); exif.saveAttributes();

Robyer commented 6 years ago

Method exif.setAttribute() exists only in Android's ExifInterface, in this library it is exif.setTag(). So, you are not talking about this library. But anyway, problem with unicode text is mentioned in https://github.com/sephiroth74/Android-Exif-Extended/issues/18 too, so it's probably issue in the JHead library that both Android itself and this Android-Exif-Extended library uses internally.