9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: andrey mirtchovski <mirtchov@cpsc.ucalgary.ca>
To: 9fans@cse.psu.edu
Subject: [9fans] perl and locales
Date: Fri, 12 Mar 2004 10:43:00 -0700	[thread overview]
Message-ID: <706d07685ee955d9b01183a33b173b73@plan9.ucalgary.ca> (raw)

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



             reply	other threads:[~2004-03-12 17:43 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-03-12 17:43 andrey mirtchovski [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=706d07685ee955d9b01183a33b173b73@plan9.ucalgary.ca \
    --to=mirtchov@cpsc.ucalgary.ca \
    --cc=9fans@cse.psu.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).