lyx_mirror/lib/encodings
Georg Baum fa1856440c Restore inputenc support
* src/encoding.h
	(encoding_table): remove, this is no longer needed with unicode
	(iconvName_): new member: name of the encoding in iconv syntax

	* src/exporter.C
	(Exporter::Export): Use return value of Buffer::makeLaTeXFile

	* src/buffer.[Ch]
	(Buffer::makeLaTeXFile): return whether the file has been created
	successfully

	* src/buffer.C
	(Buffer::makeLaTeXFile): Use a docstream that converts to the correct
	encoding
	Display an error dialog is something went wrong

	* src/bufferparams.C
	(BufferParams::writeLaTeX): Undo the utf8 inputenc hack

	* src/frontends/qt4/QDocumentDialog.C: Add some FIXMEs

	* src/support/unicode.[Ch]
	(eightbit_to_ucs4): New conversion function
	(ucs4_to_eightbit): New conversion function

	* src/support/docstream.[Ch]
	(utf8_codecvt_facet_exception): Move to header and rename to
	iconv_codecvt_facet_exception
	(odocfstream): Take the encoding as argument

	* src/support/docstream.C
	(utf8_codecvt_facet): Generalize to other encodings than utf8 and
	rename to iconv_codecvt_facet

	* src/encoding.C: Remove obsolete tables

	* src/output_latex.C
	(TeXOnePar): Convert the paragraph to different encoding if needed

	* lib/encodings: Remove obsolete tables


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15564 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-26 15:01:45 +00:00

60 lines
1023 B
Plaintext

# FIXME: Have a look at the encodings known by the inputenc package and add
# missing ones.
# FIXME: Find out whether this file is used for more than LaTeX file.
# generation. If not it doews not make make sense to have encodings with
# "unknown" LaTeX name.
# Order of names: LyX name LaTeX name iconv name
# FIXME: Add this (file format change):
#Encoding utf8 utf8 UTF-8
#End
Encoding iso8859-1 latin1 ISO-8859-1
End
Encoding iso8859-2 latin2 ISO-8859-2
End
Encoding iso8859-3 latin3 ISO-8859-3
End
Encoding iso8859-4 latin4 ISO-8859-4
End
Encoding iso8859-5 iso88595 ISO-8859-5
End
Encoding iso8859-6 unknown ISO-8859-6
End
Encoding iso8859-7 iso-8859-7 ISO-8859-7
End
Encoding iso8859-9 latin5 ISO-8859-9
End
Encoding iso8859-13 l7xenc ISO-8859-13
End
Encoding iso8859-15 latin9 ISO-8859-15
End
Encoding cp1255 cp1255 CP1255
End
Encoding cp1251 cp1251 CP1251
End
Encoding koi8 koi8-r KOI8-R
End
Encoding koi8-u koi8-u KOI8-U
End
Encoding tis620-0 unknown TIS-620-0
End
Encoding pt154 pt154 PT154
End