-
Type: Task
-
Status: Open
-
Priority: Major
-
Resolution: Unresolved
-
Affects Version/s: 5.8
-
Fix Version/s: QualifiedToSchedule
-
Component/s: Convert
If its encoding is not UTF-8:
if ("UTF-8".equals(encoding)) { newBlob = new InputStreamBlob(in); } else { String content = IOUtils.toString(in, encoding); newBlob = new StringBlob(content); }
Should stream to a tmp file ensured to be deleted when not referenced anymore.
- depends on
-
NXP-12359 text previews doesn't take encoding in account
- Resolved