#!/bin/sh # Make sure the windres we have is correctly converting utf-8 to # utf-16. We'll cons up a fake .rc file, compile it, hexdump it and # look for a pattern. Use Polish for grins. usage() { echo "usage: $0 path/to/windres" } STR="Wartości i ilości klocków" RC_FILE=/tmp/test_$$.rc DOT_O_FILE=/tmp/test_$$.o WINDRES=$1 which $WINDRES || usage # Create the .rc file cat > $RC_FILE <