Need help with Accented Character

Jayashri Thorat 351 Reputation points
2020-07-31T06:47:58.447+00:00

Hi,

I am trying to get user name's from SharePoint list's "Editor" column using command :
ModifiedBy = $item["Editor"].LookupValue

So if there is any special characters in user name it displays differently as below:
Anita Schj Møberg (Original name of user) - Anita Schj Møberg (Result name of user when try to retrieve using above command)

So can you please help me get out exact name that is : Anita Schj Møberg ?
Also how to change above name to contaings regular characters that is : Anita Schj Moberg?

Please assist.
Thanking you in advance.

Regards,
Jayashri

SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
10,854 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Baker Kong-MSFT 3,801 Reputation points
    2020-08-03T02:06:59.787+00:00

    Hi JayashriThorat-2322,

    I created a user 'Anita Schj Møberg' and let it edit an item in my SPO environment, then retrieve the item via PnP powershell and here it could correctly display the user name.

    15043-image.png

    Could you please share the PowerShell module you're using? And which version of SP you're using?

    Best Regards,
    Baker Kong


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.