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

* Re: [9fans] perl and locales
  2004-03-12 17:43 [9fans] perl and locales andrey mirtchovski
@ 2004-03-12 18:44 ` rog
  2004-03-12 19:53   ` 9nut
  0 siblings, 1 reply; 5+ messages in thread
From: rog @ 2004-03-12 18:44 UTC (permalink / raw)
  To: 9fans

> lastly, does anyone besides me care?

not me!



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

* Re: [9fans] perl and locales
  2004-03-12 19:53   ` 9nut
@ 2004-03-12 19:14     ` boyd, rounin
  2004-03-12 21:07     ` ron minnich
  1 sibling, 0 replies; 5+ messages in thread
From: boyd, rounin @ 2004-03-12 19:14 UTC (permalink / raw)
  To: 9fans

i'm pretty sure my position on perl is clear.



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

* Re: [9fans] perl and locales
  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
  0 siblings, 2 replies; 5+ messages in thread
From: 9nut @ 2004-03-12 19:53 UTC (permalink / raw)
  To: 9fans

>> lastly, does anyone besides me care?
> 
> not me!

me neither!



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

* Re: [9fans] perl and locales
  2004-03-12 19:53   ` 9nut
  2004-03-12 19:14     ` boyd, rounin
@ 2004-03-12 21:07     ` ron minnich
  1 sibling, 0 replies; 5+ messages in thread
From: ron minnich @ 2004-03-12 21:07 UTC (permalink / raw)
  To: 9fans

On Fri, 12 Mar 2004 9nut@9netics.com wrote:

> >> lastly, does anyone besides me care?
> > 
> > not me!
> 
> me neither!
> 

one could argue that a 'perl-proof' os is a good thing.

ron



^ 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).