mirror of
https://github.com/chris2511/xca.git
synced 2026-09-14 11:06:19 +05:00
Change default string encoding
Now by default it uses Printable string and only if the value can't be encoded as printable string it will use UTF-8 instead.
This commit is contained in:
parent
ac371b697a
commit
fb62b3aba8
@ -171,7 +171,7 @@ MainWindow::MainWindow(QWidget *parent )
|
||||
|
||||
statusBar()->addWidget(dbindex, 1);
|
||||
mandatory_dn = "";
|
||||
string_opt = "pkix";
|
||||
string_opt = "MASK:0x2002";
|
||||
|
||||
setupUi(this);
|
||||
setWindowTitle(tr(XCA_TITLE));
|
||||
|
||||
@ -30,9 +30,11 @@ Options::Options(MainWindow *parent)
|
||||
nid = OBJ_sn2nid(CCHAR(dnl[i]));
|
||||
extDNlist->insertItem(0, OBJ_nid2ln(nid));
|
||||
}
|
||||
string_opts << "pkix" << "nombstr" << "utf8only" << "default";
|
||||
string_opts << "MASK:0x2002" << "pkix" << "nombstr" <<
|
||||
"utf8only" << "default";
|
||||
QStringList s;
|
||||
s << tr("PKIX recommendation in RFC2459 (default)")
|
||||
s << tr("Printable string or UTF8 (default)")
|
||||
<< tr("PKIX recommendation in RFC2459")
|
||||
<< tr("No BMP strings, only printable and T61")
|
||||
<< tr("UTF8 strings only (RFC2459)")
|
||||
<< tr("All strings");
|
||||
|
||||
Loading…
Reference in New Issue
Block a user