BoostIO/Boostnote

Do you want to work on this issue?

You can request for a bounty in order to promote it!

The content can not displayed correctly for Chinese character when dragging existing files to Boostnote #3014

henryshao posted onGitHub

Current behavior

when I adding existing file by drag it to boostnote, the content is incorrect and can not be recognized, the default file encoding is ANSI, for me is GBK .

Expected behavior

some information lost when adding new files, caused the content convert to garbage. One interesting thing is the file name is not impacted and can display correctly.

Environment

  • Version : 0.11.15
  • OS Version and name : windows 10

image

posted by henryshao almost 6 years ago

资产类型名称修改-20190508.txt please use this file to test.

posted by henryshao almost 6 years ago

Actually I think this behavior makes sense, it is virtually impossible to determine text encoding if not explicitly told what the encoding should be, and Windows "ANSI" encoding is different from system to system. All characters would show properly if the file above is converted to UTF-8 before importing.

posted by abelcheung almost 6 years ago

@boostio has funded $40.00 to this issue.


posted by IssueHuntBot almost 6 years ago

Fund this Issue

$40.00
Funded
Only logged in users can fund an issue

Pull requests

Recent activities

boostio funded 40.00 for BoostIo/Boostnote# 3014
almost 6 years ago