---
title: charset
configName: output.charset
---

# output.charset

- **Type:** `'ascii' | 'utf8'`
- **Default:** `'ascii'`

The `charset` config allows you to specify the [character encoding](https://developer.mozilla.org/en-US/docs/Glossary/Character_encoding) for output files to ensure they are displayed correctly in different environments.

import RsbuildConig from '@site-docs-en/components/rsbuild-config-tooltip';

<RsbuildConig />
