Problem saving patches with bulgarian letters (Cyrillic)



Hello there.

I've noticed that whenever there are bulgarian letters (cyrillic) in my files, meld can't save as patch. "Save as patch" window opens fine, with all contents inside shown properly, but  when I try to actually save the patch, window will freeze. Buttons do not react. Nor can I close it, nor can I save it. Have to kill meld manually.

Has this been observed before?
Any solution?

Below is meld's output on terminal.
[quote]
Traceback (most recent call last):
  File "/usr/lib64/python2.7/site-packages/meld/filediff.py", line 1723, in make_patch
    dialog.run()
  File "/usr/lib64/python2.7/site-packages/meld/patchdialog.py", line 121, in run
    self.filediff._save_text_to_filename(filename, txt)
  File "/usr/lib64/python2.7/site-packages/meld/filediff.py", line 1629, in _save_text_to_filename
    open(filename, "wb").write(text)
UnicodeEncodeError: 'ascii' codec can't encode characters in position 617-621: ordinal not in range(128)
[/quote]

-- Симон Болоканов


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]