Message Boards Message Boards

0
|
209 Views
|
0 Replies
|
0 Total Likes
View groups...
Share
Share this post:

Non-ASCII characters are not imported correctly in MetaInformation

Posted 1 month ago

When importing meta information of music files, non-ASCII characters are not imported correctly. It seems that only the last byte is imported.

In[1]:= Import["E:\\音乐\\明日方舟\\20240216 - 怀黍离OST\\塞壬唱片-MSR,颜沐宸Ace - 击壤歌.flac","MetaInformation"]
Out[1]= <|Xiph-><|Album->{\.00},Artist->{^ì1G-MSR/œ¸Ace},RecordingDate->{Year: 2024},Genre->{Game},Title->{ûäL},TrackNumber->{3},TrackTotal->{4}|>|>

In[2]:= ToCharacterCode[{"^ì1G-MSR/œ¸Ace"}]
IntegerDigits[ToCharacterCode[{"塞壬唱片-MSR,颜沐宸Ace"}],256]
Out[2]= {{94,236,49,71,45,77,83,82,47,156,144,184,65,99,101}}
Out[3]= {{{88,94},{88,236},{85,49},{114,71},{45},{77},{83},{82},{44},{152,156},{108,144},{91,184},{65},{99},{101}}}

When I give feedback there is always a connection error and I can only post here...

POSTED BY: Zihan Li
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract