texfrag-region may not adapt the coding system for the LaTeX buffer unmodified to the coding system for the source buffer.
In UTF coding the byte order mark must be removed. Otherwise LaTeX fails.
Maybe the LaTeX buffer should always be recoded to UTF8 without BOM?
This also concerns the new :generator feature in texfrag-frag-alist. For that feature it is better to keep the coding system as good as possible.
texfrag-region
may not adapt the coding system for the LaTeX buffer unmodified to the coding system for the source buffer. In UTF coding the byte order mark must be removed. Otherwise LaTeX fails.Maybe the LaTeX buffer should always be recoded to UTF8 without BOM? This also concerns the new :generator feature in
texfrag-frag-alist
. For that feature it is better to keep the coding system as good as possible.