Menu

#1615 show entity unicode character instead delete it

6.1
open
nobody
None
5
2023-06-18
2022-05-02
John D
No

as default, entity unicode character like this \u0020 = Space will be deleted in the translate process

Discussion

  • Hiroshi Miura

    Hiroshi Miura - 2022-05-07

    What file type does reproduce a case? HTML?

     
  • Hiroshi Miura

    Hiroshi Miura - 2022-10-02
    • Group: 5.8 --> 6.1
     
  • Hiroshi Miura

    Hiroshi Miura - 2023-06-18

    OmegaT preserve whitespace when translator does not translate
    https://sourceforge.net/p/omegat/bugs/108/

    There is an option whether compressing whitespace or not.
    Here is source comment

            // We're compressing the space if this paragraph wasn't inside <PRE> tag
            // But if the translator does not translate the paragraph,
            // then we write out the uncompressed version,
            // as documented in
            // https://sourceforge.net/p/omegat/bugs/108/
            // The spaces that are around the segment are not removed, unless
            // compressWhitespace option is enabled. Then the spaces are compressed to max 1.
            // (This changes the layout, therefore it is an option. NB: an alternative implementation is to compress by
            // default, and use Core.getFilterMaster().getConfig().isPreserveSpaces() option instead to compress if
            // not checked.)
    
     

Log in to post a comment.

MongoDB Logo MongoDB