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
44
44
### Package Reference
45
45
46
46
``` xml
47
- <PackageReference Include =" QsNet" Version =" <version>" />
47
+
48
+ <PackageReference Include =" QsNet" Version =" <version>" />
48
49
```
49
50
50
51
---
51
52
52
53
## Requirements
53
54
54
- - .NET ** 8.0+ **
55
+ - ** Targets: ** ` net8.0 ` , ` netstandard2.0 `
55
56
56
57
---
57
58
@@ -588,6 +589,16 @@ Qs.Encode(
588
589
589
590
### Charset handling
590
591
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
+
591
602
```csharp
592
603
// Encode using Latin1 charset
593
604
Qs .Encode (
You can’t perform that action at this time.
0 commit comments