File tree Expand file tree Collapse file tree 1 file changed +13
-2
lines changed
Expand file tree Collapse file tree 1 file changed +13
-2
lines changed Original file line number Diff line number Diff line change @@ -44,14 +44,15 @@ dotnet add package QsNet
4444### Package Reference
4545
4646``` xml
47- <PackageReference Include =" QsNet" Version =" <version>" />
47+
48+ <PackageReference Include =" QsNet" Version =" <version>" />
4849```
4950
5051---
5152
5253## Requirements
5354
54- - .NET ** 8.0+ **
55+ - ** Targets: ** ` net8.0 ` , ` netstandard2.0 `
5556
5657---
5758
@@ -588,6 +589,16 @@ Qs.Encode(
588589
589590### Charset handling
590591
592+ > ** Note (Latin-1 on older TFMs):** Some frameworks (e.g., netstandard2.0) don’t expose ` Encoding.Latin1 ` directly. Use
593+ ` Encoding.GetEncoding("iso-8859-1") ` . On .NET Core / netstandard you may also need to register the code pages provider:
594+ >
595+ > ``` csharp
596+ > using System .Text ;
597+ >
598+ > Encoding .RegisterProvider (CodePagesEncodingProvider .Instance );
599+ > var latin1 = Encoding .GetEncoding (" iso-8859-1" );
600+ > ```
601+
591602```csharp
592603// Encode using Latin1 charset
593604Qs .Encode (
You can’t perform that action at this time.
0 commit comments