in reply to Re: confusing result from Win32::GetACP()
in thread confusing result from Win32::GetACP()
Also I wonder, how would you write the test for Win32::getACP() to actually compare the return value against the value reported by windows. Currently it is like this and rather coarse:
use strict; use Test; use Win32; #plan tests => 8; my $ansicp = Win32::GetACP(); ok($ansicp > 0 && $ansicp <= 65001);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: confusing result from Win32::GetACP()
by ikegami (Patriarch) on Aug 20, 2025 at 16:04 UTC | |
by hexcoder (Curate) on Aug 21, 2025 at 07:45 UTC | |
by Discipulus (Canon) on Aug 21, 2025 at 08:03 UTC | |
by NERDVANA (Priest) on Aug 27, 2025 at 18:03 UTC | |
by ikegami (Patriarch) on Aug 27, 2025 at 23:01 UTC |