9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] perl and locales
@ 2004-03-12 17:43 andrey mirtchovski
  2004-03-12 18:44 ` rog
  0 siblings, 1 reply; 5+ messages in thread
From: andrey mirtchovski @ 2004-03-12 17:43 UTC (permalink / raw)
  To: 9fans

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



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2004-03-12 21:07 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-03-12 17:43 [9fans] perl and locales andrey mirtchovski
2004-03-12 18:44 ` rog
2004-03-12 19:53   ` 9nut
2004-03-12 19:14     ` boyd, rounin
2004-03-12 21:07     ` ron minnich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).