# EncodedStringWriter class

Namespace: [GH_IO.Serialization](https://developer.rhino3d.com/api/gh1/namespace/gh-io.serialization.md) · Assembly: [GH_IO](https://developer.rhino3d.com/api/gh1/assembly/gh-io.md)

```cs
public class EncodedStringWriter : StringWriter
```

This class is needed to override the UTF-16 encoding property of the default DotNET StringWriter.

## Properties

- [Encoding](https://developer.rhino3d.com/api/gh1/type/gh-io.serialization.encodedstringwriter/encoding.md): Always return UTF-8.
