Removes control characters and other non-UTF-8 characters

Namespace: DotNetNuke.Common.Utilities
Assembly: DotNetNuke (in DotNetNuke.dll)

Syntax

C#
public static string RemoveInvalidXmlCharacters(
	string content
)
Visual Basic
Public Shared Function RemoveInvalidXmlCharacters ( 
	content As String
) As String

Parameters

content
Type: System..::..String
The string to process

Return Value

A string with no control characters or entities above 0x00FD

See Also