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.

Filter by
Sorted by
Tagged with
0 votes
1 answer
581 views

SharePoint power automate, read image content from InfoPath base64 string

Update: After research I found that unfortunately it is impossible for now (April 2023) to work (to cut/split) binary data with PowerAutomate functions. Here is same problem described: https://...
Gennady G's user avatar
  • 1,623
0 votes
1 answer
616 views

API Call to create folder with %-Symbol either fails or doesn't decode

I'm implementing REST Calls to Sharepoint in Java. I create folders by sending POST Requests to /_api/web/GetFolderByServerRelativeUrl('/sites/MySite/Folder/')/folders/add('NewFolder') This creates ...
Ruik's user avatar
  • 123
0 votes
0 answers
42 views

After upgraded Sharepoint Foundation we have unicode/letter issues

So no need to pretend like I'm an expert cause I'm not. We have a file management system we use for a lot of stuff that was developed for us a few years back, this is hosted on a Sharepoint ...
Allan Pedersen's user avatar
1 vote
1 answer
2k 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 ...
Burre Ifort's user avatar
  • 1,318
2 votes
0 answers
30 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 ...
Zikairos's user avatar
0 votes
1 answer
221 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 ...
sasfrog's user avatar
  • 314
1 vote
1 answer
1k 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 ...
Wanderer's user avatar
  • 123
1 vote
0 answers
28 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 ...
eflores's user avatar
  • 53
1 vote
1 answer
1k 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 ...
Wanderer's user avatar
  • 123
3 votes
0 answers
471 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 "...
SvdSinner's user avatar
  • 263
0 votes
1 answer
356 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". ...
BunnyKnitter's user avatar
0 votes
1 answer
95 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: ...
Vignesh amutha's user avatar
1 vote
1 answer
1k 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"...
Patrick's user avatar
  • 111
2 votes
1 answer
2k 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 ...
omega's user avatar
  • 2,150
0 votes
1 answer
218 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 ...
Plexus81's user avatar
  • 2,250
1 vote
1 answer
76 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.
Shivam Aggarwal's user avatar
0 votes
0 answers
28 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 ...
Matt Ludwig's user avatar
0 votes
1 answer
1k 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 ...
ameliapond's user avatar
8 votes
2 answers
679 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"); ...
Salim Mandrekar's user avatar
3 votes
1 answer
528 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?
Robban1980's user avatar
  • 1,004
0 votes
0 answers
1k 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 ...
mbreske's user avatar
  • 13
6 votes
3 answers
5k 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/sh[email protected]/?cmd=contents&...
Grant's user avatar
  • 225
1 vote
1 answer
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 ...
Alfero Chingono's user avatar
4 votes
1 answer
864 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 ...
Maurizio Pozzobon's user avatar
1 vote
1 answer
745 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: Скоро срок СЃдачи поручРµния СоздатСЊ расписаниРµ по дисциплинам ...
Sam.Shekhovtsov's user avatar
0 votes
1 answer
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 ...
Dynde's user avatar
  • 151
1 vote
0 answers
103 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 ...
Ybbest's user avatar
  • 1,113
3 votes
2 answers
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....
user avatar
2 votes
2 answers
295 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 <...
Mikael Svenson's user avatar
4 votes
2 answers
942 views

ddwrt:EcmaScriptEncode Explained?

Does anyone know exactly what ddwrt:EcmaScriptEncode does? (Which char mappings, etc.?) M.
Marc D Anderson's user avatar