Convert ints to doubles (so we get NaNs)
Support other character sets in SAV