-
-
Notifications
You must be signed in to change notification settings - Fork 3k
Fix charset detection with utf16 and others #8947
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
31 commits
Select commit
Hold shift + click to select a range
dc9b9cb
Fix charset detection with utf16 and others
Siedlerchr b2f9b4b
checkstyöe
Siedlerchr 533f905
Fix typo in method names
koppor ca72dff
change newlines
Siedlerchr 1082f8a
get bytes
Siedlerchr 455ae72
Set newline character to LF
HoussemNasri c1c5eac
Merge remote-tracking branch 'upstream/detectCharset' into detectCharset
HoussemNasri e3085b1
Revert "get bytes"
HoussemNasri 8d7a38a
progress
HoussemNasri 59f3ffc
switch line sep to LF
Siedlerchr f93cfb8
Please work
HoussemNasri ded49cd
Merge remote-tracking branch 'upstream/detectCharset' into detectCharset
HoussemNasri 00dee77
Merge remote-tracking branch 'upstream/main' into detectCharset
Siedlerchr 832a4bd
Merge remote-tracking branch 'upstream/main' into detectCharset
Siedlerchr 758de5b
Try jitpack
koppor 6287508
Merge branch 'detectCharset' of github.com:JabRef/jabref into detectC…
Siedlerchr cf59352
Merge remote-tracking branch 'upstream/main' into detectCharset
Siedlerchr 680de72
Add manual build of icu4j
Siedlerchr 28e1616
Check if we have ascii in the list of charsets
Siedlerchr 787d594
fix checkstyle
Siedlerchr b3795fd
Update external-libraries.md
koppor 164c629
Enocde with UTF-16BE
koppor 67ffee9
Fix umlaut
koppor 4d4a124
Hack to get test running
koppor d79dfb7
Also compare meta data
koppor 63e7882
Add enforced ignorance of malformed characters
koppor b5e915d
checkstyle
Siedlerchr f8df61b
IntelliJ now also renders the file correctly
koppor 2a4c1dd
Add test
koppor 34c8210
Refine CHANGELOG.md
koppor 040ee18
Remove non-working jpackage reference
koppor File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file added
BIN
+132 Bytes
src/test/resources/org/jabref/logic/importer/fileformat/encoding-utf-16BE-with-header.bib
Binary file not shown.
Binary file added
BIN
+122 Bytes
src/test/resources/org/jabref/logic/importer/fileformat/encoding-utf-16BE-without-header.bib
Binary file not shown.
5 changes: 5 additions & 0 deletions
5
...ef/logic/importer/fileformat/encoding-windows-1252-but-utf-8-declared--decoding-fails.bib
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| % Encoding: UTF-8 | ||
|
|
||
| @Article{, | ||
| author = {Test�I. Last}, | ||
| } |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.