You are catching some character that isn't supported.
By pasting first into a text only window then copy from there you loose any such characters.
In reality, you should always copy to Notepad with 'Word Wrap' off and save to frq file. Then open it in your F100 software as needed. The frq files can then be copied to the F165 for running without the software.
If you are setup to ALWAYS run using the F100 software use the 'Run Standalone' menu item to first copy the temp scriipt to the F165 and then run it from there. Without that you may not get as high of a performance...