ALT Linux Bugzilla
– Attachment 1636 Details for
Bug 10025
Знаки вопросов в не-ASCII именах файлов
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
[patch]
Собственно, сам патч...
synce-kde-0.9.1-noascii.patch (text/plain), 1.21 KB, created by
led
on 2006-09-21 12:26:38 MSD
(
hide
)
Description:
Собственно, сам патч...
Filename:
MIME Type:
Creator:
led
Created:
2006-09-21 12:26:38 MSD
Size:
1.21 KB
patch
obsolete
>diff -urN synce-kde-0.9.1.orig/rapip/rapip.cpp synce-kde-0.9.1/rapip/rapip.cpp >--- synce-kde-0.9.1.orig/rapip/rapip.cpp 2004-08-31 03:50:17 +0300 >+++ synce-kde-0.9.1/rapip/rapip.cpp 2006-09-21 00:34:31 +0300 >@@ -62,7 +62,7 @@ > HRESULT hr; > > if (!actualHost.isEmpty()) >- synce::synce_set_connection_filename(actualHost.ascii()); >+ synce::synce_set_connection_filename(actualHost.utf8()); > else > synce::synce_set_default_connection_filename(); > >@@ -150,7 +150,7 @@ > entry = find_data + i; > > atom.m_uds = KIO::UDS_NAME; >- atom.m_str = QString::fromUcs2(entry->cFileName).ascii(); >+ atom.m_str = QString::fromUcs2(entry->cFileName); > udsEntry.append( atom ); > > atom.m_uds = KIO::UDS_SIZE; >@@ -177,7 +177,7 @@ > atom.m_long = S_IFREG; > udsEntry.append(atom); > >- tmpUrl.setPath(synce::wstr_to_ascii(entry->cFileName)); >+ tmpUrl.setPath(synce::wstr_to_utf8(entry->cFileName)); > mt = KMimeType::findByURL(tmpUrl); > atom.m_uds = KIO::UDS_MIME_TYPE; > atom.m_str=mt->name();
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 10025
: 1636