Why do I get mojibake (“garbage characters”) when pasting or dragging text from Jedit X to other applications?
Jedit X uses Unicode to process text, so conversion is required when pasting or dragging text to applications that do not use Unicode. This conversion is performed in the “pasteboard server.” When converting from Unicode to, for instance, Shift JIS, Unicode characters that are not defined in the latter will end up as mojibake because they cannot be converted. Jedit X will alert you when saving plain text as Shift JIS that some character information may be lost. If you ignore this warning and save anyway, some characters will be saved as “?”. If you open the file and paste characters into it, they will not mojibake.
Related Questions
- Why can I click on items in the menu bar in Microsoft Office applications and why can I enter text into Microsoft Excel fields after using Alt-Tab to switch to a native Linux application?
- How do Web browsers perform when copying and pasting alternate text?
- How do I copy and paste text into different applications?