The following works for me:
var text_to_print = "Hello world. This is a dot";
print (text_to_print);
However, if for whatever reason that does not work, then you'll need to get the ASCII character and convert it. You can do this using the get_string_from_ascii function in PoolByteArray. For example, this code will print a period/dot (at least on Windows 10):
print (PoolByteArray([46]).get_string_from_ascii());
Hopefully this helps!