DOMString.transcode

Returns a copy of the string, transcoded to the local code page. The caller owns the (char *) string that is returned, and is responsible for deleting it.

class DOMString
@safe @trusted pure nothrow const
immutable(char)*
transcode
()

Return Value

Type: immutable(char)*

A pointer to a newly allocated buffer of char elements, which represents the original string, but in the local encoding. Note: This function is using the toStringz function, and rules of that apply here too.

Meta