In my code, I declare a large list of fixed-length character strings:
CHARACTER * 256 :: string_list(256)
The ancient problem is that if I was to output such a string, it is always filled with spaces, no matter what its actual contents are:
string_list(1) = 'test'
WRITE(*,'(A)')...