FileReadString reading the Upper case as a Lower case

 

Hi

This mql4 code read the txt file string but as lower case not as upper case as it is saved in the file. Any idea where is the problem and how to get it to read the text as is?

Thanks

// string file contents
// USD s w

int filehandle=FileOpen(filename, FILE_READ | FILE_ANSI | FILE_COMMON, 0);

    ushort sep = StringGetCharacter(" ",0);                  // The code of the separator character
    int str_size;
    string str;
    while(!FileIsEnding(filehandle)){
        str_size= FileReadInteger(filehandle,INT_VALUE);
        str     = FileReadString(filehandle,str_size);
        Print(str);
   }

// prints usd s w
 
Unlikely — attach the file.
Reason: