Let to specify the separator and delimiter based on the current locale configuration

Looking for the proper way to change the delimiter and separator, I've
found a place that the locale was used to decide which delimiter and
separator to use.