Full stops not appearing

Some weird behaviour which I cannot fathom.

Given a simple program:

identification division. program-id. environment division. configuration section. data division. working-storage section. 01 function-key-pressed pic 9(4). procedure division. stop run. end program.

 As typed in Notepad, all full stops appear. When I input to VC2019, by cut/paste from Notepad, the full stops are not reflected and I get errors - COBCH0143 Unknown IDENTIFICATION DIVISION paragraph .

Strangely if I then cut/paste the code from VC to Notepad the full stops are there. Very strange