Pelles C > Bug reports
UTF8 issue on Windows 7
Vortex:
Hello,
pocc is displaying an error message if the option /utf-8 is specified in the command line. The problem appears on Windows 7 systems.
--- Code: ---pocc /utf-8 -std:C11 /Tx86-coff -Ot -Ob1 -fp:precise -W1 -Ze -Zx test.c
E:\PellesC\Include\ctype.h(40): fatal error #1065: Failed converting input from 'U'.
--- End code ---
It doesn't matter if the source code is ANSI, UTF8 or UTF8 with BOM.
John Z:
Hi Vortex,
I still have a win 7 system running. Post your test.c file and I'll verify on
my system. Pelles C version 12 I assume....
John Z
Vortex:
Hi John,
Pelles C version : 12.00.2
The code does not matter, you will receive the same error message with the option /utf-8 on Windows 7 :
--- Code: ---#include <stdio.h>
int main(int argc, char *argv[])
{
printf("test");
return 0;
}
--- End code ---
John Z:
Thanks Vortex!
Confirmed - Win 7 Pro with V12 and Win 7 Home with V12 both show the issue -
Win 7 Home with V9 does not recognize the /UTF-8 option as it was not implemented yet . . . .
John Z
It looks like based on the help file that this option was added in V11. just fyi maybe test V11
Vortex:
Hi John,
Thanks for your tests.
Navigation
[0] Message Index
[#] Next page
Go to full version