nimCalcDistance please check my blog https://akasatanahama.com/posts/49/ If you are having trouble with UTF8, compile it with the following command (Output file is OK, problems are displayed on standard output). nim c -r -d:ustringPythonic calc_distance.nim