What is language specific about how an array is formatted? I think you're abusing the locale stuff as some kind of user customization mechanism for format().