WKWebView: What is the characterEncodingName for docx file
up vote
0
down vote
favorite
Im using WKWebView to display the Docx document files with the following method
self.documentWebView.load(documentData, mimeType: mimeType, characterEncodingName: "UTF-8", baseURL: documentURL)
The web view is finally loaded with unreadable data, seems to be some issue with encoding. Whats is the correct characterEncodingName for doxc file?
Note : I can able to load the same document by using self.documentWebView.loadFileURL(documentURL, allowingReadAccessTo: documentURL)
method, but I don't want to use that.
swift uiwebview
add a comment |
up vote
0
down vote
favorite
Im using WKWebView to display the Docx document files with the following method
self.documentWebView.load(documentData, mimeType: mimeType, characterEncodingName: "UTF-8", baseURL: documentURL)
The web view is finally loaded with unreadable data, seems to be some issue with encoding. Whats is the correct characterEncodingName for doxc file?
Note : I can able to load the same document by using self.documentWebView.loadFileURL(documentURL, allowingReadAccessTo: documentURL)
method, but I don't want to use that.
swift uiwebview
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
Im using WKWebView to display the Docx document files with the following method
self.documentWebView.load(documentData, mimeType: mimeType, characterEncodingName: "UTF-8", baseURL: documentURL)
The web view is finally loaded with unreadable data, seems to be some issue with encoding. Whats is the correct characterEncodingName for doxc file?
Note : I can able to load the same document by using self.documentWebView.loadFileURL(documentURL, allowingReadAccessTo: documentURL)
method, but I don't want to use that.
swift uiwebview
Im using WKWebView to display the Docx document files with the following method
self.documentWebView.load(documentData, mimeType: mimeType, characterEncodingName: "UTF-8", baseURL: documentURL)
The web view is finally loaded with unreadable data, seems to be some issue with encoding. Whats is the correct characterEncodingName for doxc file?
Note : I can able to load the same document by using self.documentWebView.loadFileURL(documentURL, allowingReadAccessTo: documentURL)
method, but I don't want to use that.
swift uiwebview
swift uiwebview
asked Nov 19 at 11:22
Rajasekhar Pasupuleti
785611
785611
add a comment |
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53373564%2fwkwebview-what-is-the-characterencodingname-for-docx-file%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown