I get a text file from aix and try to process it on windows
but some lines contains strange character like
, in ultraedit , it is displayed like 
when fgets function encounter the line, it raise a ferror and stop at drawing. Then it refuse to continue even if I force to run fgets again on after meets the line.
The hexa code of the character is 1A
The explanation of this character in ASCII table is substitute character, which is used to replace the character that cannot be represented on the device.
Does that means
- I have a specific character of AIX and there is no way to process it on windows.
- Does this happens only in case of a cross plateform file ?
Thanks!
fgets. It's more likely a bug in your code, which you should add to your question.fgetcfunction and see what happens.type file.txtcommand in command prompt, it will also stop at such character if the file has one.