Skip to content

Commit

Permalink
Changed the charset of the windows encoding to match the MP4 files
Browse files Browse the repository at this point in the history
  • Loading branch information
cedricopfermann committed Feb 25, 2024
1 parent 76a0d18 commit 935ffcd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/com/drew/metadata/mp4/Mp4BoxHandler.java
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ private String getProcessUserDataMetaXtraValue(@NotNull SequentialReader reader,
for (long i = 0; i < entry_count; ++i) {
long value_size = reader.getUInt32();
int val_type = reader.getUInt16();
result.add(reader.getString((int) value_size - 6, "UTF-8"));
result.add(reader.getString((int) value_size - 6,"UTF-16LE"));
}
return StringUtil.join(result, " | ");
}
Expand Down

0 comments on commit 935ffcd

Please sign in to comment.