mirror of
https://git.gfz-potsdam.de/naaice/iphreeqc.git
synced 2025-12-16 08:38:23 +01:00
7 lines
238 B
Bash
Executable File
7 lines
238 B
Bash
Executable File
#!/bin/sh
|
|
# see https://en.wikipedia.org/wiki/Windows-1252
|
|
iconv --to-code=UTF-8 --from-code=WINDOWS-1252 print.cpp > print.utf-8.cpp
|
|
if grep -q '^// -\*- coding: windows-1252 -\*-$' print.utf-8.cpp; then
|
|
sed -i '1d' print.utf-8.cpp
|
|
fi
|