Just to make it clear - those characters aren't ASCII. ASCII are only those that have the 8th bit set to 0.

That said, a converting routine will be quite tricky - for it completely depends on the locale you are using. Different characters have different codes in the different charsets. You will have to take locale into account. Then you can at least convert them to lowercase:

use locale; $foo = "ÖÄÜ"; print lc($foo)."\n";
This put's them just to lowercase - it doesn't convert them to ASCII characters. That is a thing I wouldn't do - the characters are different on purpose. They mean different things, so I might question your reason.
--
Alfie

In reply to Re: Upper Ascii characters by alfie
in thread Upper Ascii characters by daviddhall

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.