---
jsApi: true
title: "[F] getContentEncoding"

---
```ts
getContentEncoding(program, target): string
```

## Parameters

| Parameter | Type |
| :------ | :------ |
| `program` | `Program` |
| `target` | `Type` |

## Returns

`string`
