From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <706d07685ee955d9b01183a33b173b73@plan9.ucalgary.ca> To: 9fans@cse.psu.edu From: andrey mirtchovski MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Subject: [9fans] perl and locales Date: Fri, 12 Mar 2004 10:43:00 -0700 Topicbox-Message-UUID: 2cfbd3d8-eacd-11e9-9e20-41e7f4b1d025 what would it take to set the default locale in perl to *.UTF-8? currently string functions break when faced with unicode characters, especially 'length'. the normal way of changing the locale: use locale; use POSIX qw "locale_h"; setlocale(...); doesn't work because "use POSIX" fails. perl also reports that it _has_ been compiled with locale support. lastly, does anyone besides me care? andrey