in reply to Re: Strings with umlauts and such
in thread Strings with umlauts and such

When reading up on unicode I came across something I took as a warning not to use "use UTF-8". So I did not. The remark about using utf-8 in the code did confuse me: using Kühne in a string is using utf-8 in the code?

Must give your suggetion to take Azure out of the equating some thought, not really sure how to go about that.

Replies are listed 'Best First'.
Re^3: Strings with umlauts and such
by hippo (Archbishop) on Aug 13, 2024 at 11:12 UTC
    using Kühne in a string is using utf-8 in the code?

    It is, if it is written with utf-8 encoding. use utf8; tells perl that your source code includes literal utf-8 characters. If you don't include that but insert literal utf-8 characters in your code, all manner of bad things will ensue. See utf8.

    There is almost no reason not to use uft8; in all your code these days.


    🦛