In Emacs 29, If default buffer-file-coding is utf-8, and plantuml output type is "png", when doing "plantuml-preview-buffer", it will pop up error that it can't detect image type from the buffer.
This fixing is explicitly set the previous buffer's buffer-file-coding to "no-conversion" to avoid such issue.
In Emacs 29, If default buffer-file-coding is utf-8, and plantuml output type is "png", when doing "plantuml-preview-buffer", it will pop up error that it can't detect image type from the buffer.
This fixing is explicitly set the previous buffer's buffer-file-coding to "no-conversion" to avoid such issue.