中文转UTF-8
This commit is contained in:
parent
a436d74482
commit
f38467b988
|
@ -1515,7 +1515,8 @@ void hg_scanner_239::thread_handle_usb_read(void)
|
|||
if (user_cancel_ && is_auto_paper_scan)
|
||||
{
|
||||
status_ = ret = SCANNER_ERR_USER_CANCELED;
|
||||
VLOG_MINI_1(LOG_LEVEL_DEBUG_INFO, "用户取消操作 '%s'\n", hg_scanner_err_name(status_));
|
||||
// VLOG_MINI_1(LOG_LEVEL_DEBUG_INFO, "用户取消操作 '%s'\n", hg_scanner_err_name(status_));
|
||||
VLOG_MINI_1(LOG_LEVEL_DEBUG_INFO, "\347\224\250\346\210\267\345\217\226\346\266\210\346\223\215\344\275\234 '%s'\n", hg_scanner_err_name(status_));
|
||||
break;
|
||||
}
|
||||
size = sizeof(buf);
|
||||
|
@ -1635,7 +1636,8 @@ void hg_scanner_239::thread_handle_usb_read(void)
|
|||
if (user_cancel_)
|
||||
{
|
||||
status_ = ret = SCANNER_ERR_USER_CANCELED;
|
||||
VLOG_MINI_1(LOG_LEVEL_DEBUG_INFO, "用户取消操作 '%s'\n", hg_scanner_err_name(status_));
|
||||
//VLOG_MINI_1(LOG_LEVEL_DEBUG_INFO, "用户取消操作 '%s'\n", hg_scanner_err_name(status_));
|
||||
VLOG_MINI_1(LOG_LEVEL_DEBUG_INFO, "\347\224\250\346\210\267\345\217\226\346\266\210\346\223\215\344\275\234 '%s'\n", hg_scanner_err_name(status_));
|
||||
auoto_paper_indx = 0;
|
||||
break;
|
||||
}
|
||||
|
@ -1658,7 +1660,8 @@ void hg_scanner_239::thread_handle_usb_read(void)
|
|||
{
|
||||
LOG_INFO(LOG_LEVEL_DEBUG_INFO, "Really stopped ^_^\n");
|
||||
|
||||
string str = "当前批次扫描完成(第"+to_string(++auoto_paper_indx)+"批)";
|
||||
//string str = "当前批次扫描完成(第"+to_string(++auoto_paper_indx)+"批)";
|
||||
string str = "\345\275\223\345\211\215\346\211\271\346\254\241\346\211\253\346\217\217\345\256\214\346\210\220(\347\254\254"+to_string(++auoto_paper_indx)+"\346\211\271)";
|
||||
if(is_auto_paper_scan)
|
||||
notify_ui_working_status(str.c_str(), SANE_EVENT_WORKING, status_);
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue