Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
9a19e96d
Kaydet (Commit)
9a19e96d
authored
Agu 23, 2017
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
ScFiltersTest::testUnicodeFileNameGnumeric only works with UTF-8
Change-Id: If31062abf50125c65a90566f1276f37d6725f73c
üst
486d3b21
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
subsequent_filters-test.cxx
sc/qa/unit/subsequent_filters-test.cxx
+7
-0
No files found.
sc/qa/unit/subsequent_filters-test.cxx
Dosyayı görüntüle @
9a19e96d
...
...
@@ -3932,6 +3932,13 @@ void ScFiltersTest::testTdf97598XLSX()
#ifdef UNX
void
ScFiltersTest
::
testUnicodeFileNameGnumeric
()
{
// Mapping the LO-interal URL
// <file:///.../sc/qa/unit/data/gnumeric/t%C3%A4%C3%9Ft.gnumeric> to the
// repo's file sc/qa/unit/data/gnumeric/t\303\244\303\237t.gnumeric only
// works when the system encoding is UTF-8:
if
(
osl_getThreadTextEncoding
()
!=
RTL_TEXTENCODING_UTF8
)
{
return
;
}
OString
aFileNamePrefix
=
"t"
+
OString
(
RTL_CONSTASCII_STRINGPARAM
(
"\u00e4\u00df"
))
+
"t."
;
ScDocShellRef
xDocSh
=
loadDoc
(
OStringToOUString
(
aFileNamePrefix
,
RTL_TEXTENCODING_UTF8
),
FORMAT_GNUMERIC
);
CPPUNIT_ASSERT
(
xDocSh
.
is
());
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment