Created attachment 137886 [details] Copied (from Writer)/pasted into terminal, then a version with corrected character "'" LIbreoffice (help): Version: 5.4.3.2 Build ID: 5.4.3.2-1.fc27 CPU threads: 2; OS: Linux 4.13; UI render: default; VCL: gtk3; Locale: en-GB (en_GB.UTF-8); Calc: group Character (example) "'" is not formatted the same way in Writer and Linux terminal despite font used is monospaced and common in both of them. Steps to reproduce: 1. Select a common font for both Writer and terminal used on Fedora 27 in your favourite environment (I used Gnome). The font I selected is from family Liberation Mono, styled in Regular, and sized 12. 2. Manually enter once in Writer following strings aimed to be copied and passed into terminal: # Aliasten käyttöönotto alias aliasko='source ~/.bashrc' In terminal (as common user) 3. Edit hidden file /home/yk/.bashrc in your favourite editor (I used gedit), copy/pass previous strings then save. 4. Enter commands: $ source ~/.bashrc $ alias Actual result: As noticeable, alias is not validated because part of the pasted text’s format is not valid, and consequently alias cannot be created. Character ”’” is presently the one involved in that issue (attachment – see string only in white and grey tones). In terminal once character ”’” is erased and entered now manually, as a result the string becomes now a valid one (attachment – see string in white, grey, and orange tones). Despite those strings look at first sight duplicated and then identical, except from the colour criteria, they are indeed distinct regarding their font format.
Tools - Autocorrect options - Localized options: untick "Replace" under Single Quotes