Convert remaining sources to UTF-8 and comments to English - #104
Open
omonien wants to merge 1 commit into
Open
Conversation
Convert leftover CP1252 Delphi sources to UTF-8 with BOM, translate remaining German comments and docs to English, repair broken umlauts in DECHashBase, and ensure every .pas/.dpr/.dpk/.inc has a UTF-8 BOM. Co-authored-by: Olaf Monien <omonien@users.noreply.github.com>
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Hi Markus,
thanks for catching the umlaut breakage on the DUnitX PR (#97) — that ANSI→UTF-8 pass quietly turned
prüfeninto replacement junk. Sorry about that; you were right to flag it.This follow-up does the rest of the tree in one clean pass, independent of #97:
DECHashBase.pasfixed by translating those NormanNG notes to English (not by stuffing more replacement characters in)No crypto logic, no test vectors, no API changes. Pure encoding + human-language comments.
Scan report
Converted CP1252 → UTF-8 with BOM
Source/DECCRC.pasSource/DECCiphers.pasUnit Tests/Tests/TestDECCipherModes.pasUnit Tests/Tests/TestDECCRC.pasUnit Tests/Tests/TestDECCipher.pasUnit Tests/Tests/TestDECCipherModesGCM.pasUnit Tests/Tests/TestDECCipherModesCCM.pasUTF-8 BOM added to every other
.pas/.dpr/.dpk/.incthat was already UTF-8 but missing the BOM (Delphi IDE convention). Existing BOMs left alone. No binaries /.restouched.Comments translated (German → English), including
Source/DECHashBase.pas— NormanNG Increment8 / EAX SELF notes (was full of U+FFFD)Source/DECCRC.pas,Source/DECCiphers.paspolynome→polynomialin CRC docs/messagesís→isinDECHash.pasOther languages: none found (no French/Spanish/etc. comments or docs). Intentional umlauts in format test data (
Decode('ä'), UTF-16 test strings) kept as real UTF-8 characters.Take it whenever it suits you — should be easy to skim as encoding + comments only.
Cheers,
Olaf