I am trying to insert a degree sign into a string, but nothing comes out of it. Tell me how can this be implemented in Perl?
Closed due to the fact that the essence of the question is not clear to the participants aleksandr barakin , Streletz , D-side , zRrr , Nick Volynkin ♦ Jun 3 '16 at 6:18 .
Try to write more detailed questions. To get an answer, explain what exactly you see the problem, how to reproduce it, what you want to get as a result, etc. Give an example that clearly demonstrates the problem. If the question can be reformulated according to the rules set out in the certificate , edit it .
|
$_="\x{0B0}";Excellent in variable degrees. But when outputting this line somewhere, the output file descriptor should of course be in UTF8 mode, so that two bytes of C2 B0 are output, and not just B0. In addition, the degree symbol can be safely written directly in the program text (the program should of course be withuse utf8) - Mike°. (yes, the editor should also edit in utf-8). If this is not the case, search for this character for your encoding. - KoVadim