Skip to content

Commit

Permalink
update utftocp
Browse files Browse the repository at this point in the history
  • Loading branch information
boeckmann committed Oct 11, 2024
1 parent ab604a6 commit cecbcb6
Show file tree
Hide file tree
Showing 4 changed files with 202 additions and 98 deletions.
14 changes: 7 additions & 7 deletions source/fdisk/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -164,25 +164,25 @@ deflang.c : nls/out.lng
$(CP) nls$(SEP)deflang.c deflang.c

nls/en.txt : nls/en_utf8.txt utf8tocp/utf8tocp.exe
$(UTF8TOCP) 437 $[@ >$^@
$(UTF8TOCP) 437 $[@ $^@

nls/es.txt : nls/es_utf8.txt utf8tocp/utf8tocp.exe
$(UTF8TOCP) 850 $[@ >$^@
$(UTF8TOCP) 850 $[@ $^@

nls/de.txt : nls/de_utf8.txt utf8tocp/utf8tocp.exe
$(UTF8TOCP) 850 $[@ >$^@
$(UTF8TOCP) 850 $[@ $^@

nls/fr.txt : nls/fr_utf8.txt utf8tocp/utf8tocp.exe
$(UTF8TOCP) 850 $[@ >$^@
$(UTF8TOCP) 850 $[@ $^@

nls/it.txt : nls/it_utf8.txt utf8tocp/utf8tocp.exe
$(UTF8TOCP) 850 $[@ >$^@
$(UTF8TOCP) 850 $[@ $^@

nls/pl.txt : nls/pl_utf8.txt utf8tocp/utf8tocp.exe
$(UTF8TOCP) maz $[@ >$^@
$(UTF8TOCP) maz $[@ $^@

nls/tr.txt : nls/tr_utf8.txt utf8tocp/utf8tocp.exe
$(UTF8TOCP) 857 $[@ >$^@
$(UTF8TOCP) 857 $[@ $^@


# --- TOOLS -----------------------------------------------------------------
Expand Down
33 changes: 33 additions & 0 deletions source/fdisk/utf8tocp/history.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@

utf8tocp history


20240918
- conversion is written to a file to avoid platform-specific CR/LF changes
- versioning scheme changed from vx.x.x to date-based YYYYMMDD
- DOS version is compiled with OpenWatcom 1.9 instead of Turbo C 2.01
- relicensed from BSD 2-clause to MIT

v0.9.5 [10 Dec 2020]
- added the '-d' action

v0.9.4 [13 Dec 2016]
- fixed CP866 (glyphs 224..239 were corrupted)

v0.9.3 [15 Aug 2016]
- added support for codepage CP857 ('MS-DOS Turkish')
- fixed CP858 (euro sign was misplaced)

v0.9.2 [20 Feb 2016]
- UTF-8 BOM markers are handled properly (that is, ignored)

v0.9.1 [10 May 2015]
- added support for codepage CP1250
- relicensed utf8tocp from GNU GPL to the BSD '2-clause' license

v0.9 [22 Dec 2013]
- added the -r (reverse operation) feature
- added support for new codepages: CP775, CP808, CP852, CP858, CP866

v0.8 [15 Dec 2013]
- first public release
22 changes: 22 additions & 0 deletions source/fdisk/utf8tocp/license
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@

=== MIT LICENSE ===

Copyright (C) 2013-2024 Mateusz Viste

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Loading

0 comments on commit cecbcb6

Please sign in to comment.