Get the encoding name from a combo box in the "Set encoding" dialog · GyPapi/sqlitebrowser@588363b · GitHub
Skip to content

Commit 588363b

Browse files
committed
Get the encoding name from a combo box in the "Set encoding" dialog
User can enter the encoding name with completion or select it from the list using the mouse. This will help users to discover available codecs and to find a suitable one in an easier way. This should help with encoding issues like sqlitebrowser#1453.
1 parent 98f4b88 commit 588363b

3 files changed

Lines changed: 19 additions & 3 deletions

File tree

‎src/Data.cpp‎

Lines changed: 8 additions & 0 deletions

‎src/Data.h‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,6 @@ bool startsWithBom(const QByteArray& data);
1717
// with a BOM an empty byte array is returned and the original data is not modified.
1818
QByteArray removeBom(QByteArray& data);
1919

20+
QStringList toStringList(const QList<QByteArray> list);
21+
2022
#endif

‎src/MainWindow.cpp‎

Lines changed: 9 additions & 3 deletions

0 commit comments

Comments
 (0)