From b5e6c7d278abd618ce79a7e0a37bda176bd65619 Mon Sep 17 00:00:00 2001 From: Michael Meeks Date: Mon, 11 Mar 2013 10:28:51 +0000 Subject: fdo#60604 - tag notes text as UTF-8. Change-Id: I535cdae8c742e5b260d73bd000f9354cfe04b854 --- .../src/org/libreoffice/impressremote/PresentationFragment.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'android') diff --git a/android/sdremote/src/org/libreoffice/impressremote/PresentationFragment.java b/android/sdremote/src/org/libreoffice/impressremote/PresentationFragment.java index bb24d40a7ced..60e16a3ada30 100644 --- a/android/sdremote/src/org/libreoffice/impressremote/PresentationFragment.java +++ b/android/sdremote/src/org/libreoffice/impressremote/PresentationFragment.java @@ -100,7 +100,7 @@ public class PresentationFragment extends SherlockFragment { mNotes = (WebView) v.findViewById(R.id.presentation_notes); String summary = "This is just a test
More text
Blabla
Blabla
blabla
Blabla"; - mNotes.loadData(summary, "text/html", null); + mNotes.loadData(summary, "text/html", "UTF-8"); mNotes.setBackgroundColor(Color.TRANSPARENT); mTopView = (CoverFlow) v.findViewById(R.id.presentation_coverflow); @@ -157,7 +157,7 @@ public class PresentationFragment extends SherlockFragment { mNumberText.setText((aPosition + 1) + "/" + mCommunicationService.getSlideShow().getSize()); mNotes.loadData(mCommunicationService.getSlideShow() - .getNotes(aPosition), "text/html", null); + .getNotes(aPosition), "text/html", "UTF-8"); } // -------------------------------------------------- RESIZING LISTENER ---- @@ -282,7 +282,7 @@ public class PresentationFragment extends SherlockFragment { int aPosition = aIntent.getExtras().getInt("slide_number"); if ( aPosition == mTopView.getSelectedItemPosition() ) { mNotes.loadData(mCommunicationService.getSlideShow() - .getNotes(aPosition), "text/html", null); + .getNotes(aPosition), "text/html", "UTF-8"); } } -- cgit