Menu

#39 Automatically detect encodings

closed
nobody
None
5
2012-09-23
2006-04-27
No

We have a source code base that uses ANSI, UTF8 and
UNICODE encodings. Can we modify KDiff3 to
automatically detect a file's encoding? Also, can we
have an option to manually override a file's encoding
without restarting KDiff3?

Discussion

  • Joachim Eibl

    Joachim Eibl - 2006-05-03

    Logged In: YES
    user_id=584435

    I plan automatic encoding detection for a future version.

    If you change the encoding in the regional settings you
    need not restart KDiff3 but must restart the comparison
    (menu "File"->"Reload", shortcut F5).
    But if you are in a file merge you will have to restart
    that. Your merge changes are then lost.

    Joachim

     
  • Joachim Eibl

    Joachim Eibl - 2006-11-01

    Logged In: YES
    user_id=584435

    Hi,
    I implemented automatic detection of UTF8 and Unicode encodings based on the byte-order-mark
    at the file beginning in KDiff3-0.9.91.
    Cheers,
    Joachim