Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [encoding]

Encoding is the process of transforming a set of Unicode characters into a sequence of bytes. In contrast, decoding is the process of transforming a sequence of encoded bytes into a set of Unicode characters.

1
vote
1answer
94 views

How to encode url in sharepoint using javascript

I have created an html page an used the following javascript to encode url entered in a text box. However, it does not ecode all characters. I used a search url and tried to encode, but does not ...
2
votes
0answers
16 views

“Email a link” list function working inconsistently in SharePoint Online

I migrated a discussion board from SP2013 to SPOnline, but have had users complain about the "Email a link" function sometimes generating broken links. After a bit of testing I found that the issue is ...
0
votes
1answer
58 views

Extracting list data to CSV using CSOM - encoding issues

I have a very basic CSOM-based app that fetches data from SharePoint lists and writes them to CSV. The problem is that when users open the resulting file in Excel, instead of certain characters like ...
1
vote
1answer
141 views

List of characters that will be encoded for List/Library column names

For a javascript based SharePoint application, I noticed that the internal name of columns with spaces are encoded. When updating these fields using the Javascript Rest API my data needs to include ...
1
vote
0answers
17 views

Accent errors in Navegation bar in Document Library web part in SharePoint 2013

I was following this tutorial to add breadcrumbs in a documents library .. but when I access to a folder with accents doesn't show correctly. I know that is problem with encoding but I don't know ...
0
votes
1answer
637 views

Saving a text file to SharePoint 2013 using JavaScript

I am building a small JS app with user configurable settings. The settings are stored in a JSON file. On load the app loads the settings files (jQuery.getJSON(....)) then performs their work which ...
3
votes
0answers
252 views

Change a single line of text field to rich text?

I am having this issue: SharePoint 2013 - Custom View linkToItem=“TRUE” - Prevent Character Encoding in Link Text It sounds like I need to change the field to rich text. The field currently is a "...
0
votes
1answer
153 views

Hyperlink in list item - encoding is breaking my link

Basically, I have a list item with a field for a shortcut. I need to link to a file on a network drive. I have that part working via: "File://corporate.com/division/stuff more stuff/file.xls". ...
0
votes
1answer
66 views

Issue in Get List named With contains # using Rest Service API [duplicate]

I have a List named 'KKR Jobs #'. And I am try to Get that list in my Sharepoint Hosted App Using Rest Service Call Like var lName = 'KKR Jobs #'; executor.executeAsync( { url: ...
0
votes
1answer
637 views

REST API return encoded Multiline Textfield but show it correctly

I save a JSON string in my SharePoint list. This looks like: {"columns":[{"name":"A","visible":true,"width":200,"sort":{},"filters":[{}],"pinned":"left"},{"name":"B","visible":false,"width":150,"sort"...
2
votes
1answer
1k views

How to encode a list name for REST in sharepoint 2013 [duplicate]

I created a list in the en site called hello's~`!@#$%^&*(){}[]:;"'<>?/\|*-+. What I am trying to do is figure out what exactly is the encoded version of the name if I am trying to target ...
0
votes
1answer
189 views

Reset character encoding on a page layout in Visual Studio. Reset back to UTF-8

How do I reset a page layout character encoding back to UTF-8 in visual studio? I'm having a solution in visual studio with all my page layouts, masterpages etc. When developing I've been mocking ...
1
vote
1answer
65 views

While using REST API to get a list by title, there is a problem getting a list whose name contains the '&' character

I have already tried encoding the '&' as %26 in the request URL. It didn't work. Please suggest something else.
0
votes
0answers
27 views

& appearing as &amp when viewing record

I have a dropdown box which has options like New, O & R, Old. When I choose the O & R option, it appears fine in the list but when I view the record it appears like O &amp; R. Why is that ...
0
votes
1answer
677 views

How to change text encoding when inserting values inside a sharepoint list using powershell?

I'm using french words with special characters like "é" "à" etc. When I trying to insert text in my list fields using powershell, it does insert the values but the characters aren't well encoded. For ...
8
votes
2answers
540 views

Export to Excel adds  to currency field in sharepoint 2013

I am trying to export the data to .xls file using below code GridView2.DataSource = dt; GridView2.DataBind(); DirectoryInfo dir = new DirectoryInfo(@"C:\New List Reports"); ...
3
votes
1answer
325 views

What encoding is used for the string returned by SPWeb.GetFileAsString(url) Method

I cannot find any documentation from microsoft regarding what encoding is used to read the file content when using the SPWeb.GetFileAsString(url). Does anyone know?
0
votes
0answers
967 views

Remove URL encoding from hyperlink field

I have a Task list, with some custom fields. One of the fields is a hyperlink field which contains a link to a document set that is related to the task. The task is created via the server object ...
6
votes
2answers
3k views

Stop sharepoint from reformatting html

I have a site page where I am trying to add a link to a particular calendar in outlook web access. The URL is https://exchange.server.com/owa/sharedcalendaruser@mydomain.com/?cmd=contents&...
1
vote
1answer
2k views

SPFile.OpenBinary - Encoding Issues

I am copying some SharePoint pages from one site collection to another and I noticed that certain special characters get mangled up in the destination file. Here is an example: Source Text: Nous ...
4
votes
1answer
739 views

utf-16 encoded email in sharepoint 2010 is possibile?

Is it possibile to send an html email encoded in utf-16 with sharepoint 2010? My problem is that I have a message body wich can contain accented characters which on the receiving end are displayed ...
1
vote
1answer
692 views

Sharepoint 2010 outgoing emails encoding issue

I have several workflows which send email notifications. Some of the outgoing emails have very strange titles, like the following: Скоро срок СЃдачи поручРµния СоздатСЊ расписаниРµ по дисциплинам ...
0
votes
1answer
1k views

Specify character encoding in webpart

really simple: I have a visual webpart with danish letters (æøå) which is malformed when deployed - most likely as a result of the wrong characterset encoding. How would I go about specifying this in ...
1
vote
0answers
102 views

Encoding problems in SharePoint2007 recycle bin

I am having problems with the Encoding in SharePoint recycle bin.I have create an item with title "abcabc",after deletion I went to the recycle bin , I got "弓ᱜ同䢴᪜ޛ翍⺉"as title in recycle bin.I think it ...
3
votes
2answers
1k views

Strange URL Encoding on SharePoint 2010

I'm seeing odd behavior while visiting a SharePoint 2010 website. The parameters that I request are encoded by what seems to be a Base64 encoding algorithm. However, it is definitely not JUST Base64....
2
votes
2answers
292 views

Add URLEncode attribute to a deployed field definition

Is it possible to add URLEncode to a field in schema.xml, and update the SharePoint site without deleting everything based on the schema? Eg. <Field DisplayName="Internal/External" /> to <...
4
votes
2answers
915 views

ddwrt:EcmaScriptEncode Explained?

Does anyone know exactly what ddwrt:EcmaScriptEncode does? (Which char mappings, etc.?) M.