Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] Convert Markdown to html not support chinese #10470

Open
kamazheng opened this issue Dec 17, 2024 · 1 comment
Open

[Bug] Convert Markdown to html not support chinese #10470

kamazheng opened this issue Dec 17, 2024 · 1 comment
Labels
bug A bug to fix

Comments

@kamazheng
Copy link

My markdown index.md:
Image

Covnerted:
Image

        await DotnetApiCatalog.GenerateManagedReferenceYamlFiles(_configFile);
        await Docset.Build(_configFile);
{
  "$schema": "https://raw.githubusercontent.com/dotnet/docfx/main/schemas/docfx.schema.json",
  "metadata": [
    {
      "src": [
        {
          "src": "..",
          "files": [
            "**/*.csproj"
          ]
        }
      ],
      "dest": "api"
    }
  ],
  "build": {
    "content": [
      {
        "files": [
          "**/*.{md,yml}"
        ],
        "exclude": [
          "wwwroot/**"
        ]
      }
    ],
    "resource": [
      {
        "files": [
          "images/**"
        ]
      }
    ],
    "output": "wwwroot",
    "template": [
      "default",
      "modern"
    ],
    "globalMetadata": {
      "_appName": "Docker Api template",
      "_appTitle": "Docker Api template",
      "_enableSearch": true,
      "pdf": true
    }
  }
}
    <PackageReference Include="Docfx.App" Version="2.78.2" />
	  <PackageReference Include="Microsoft.CodeAnalysis.Workspaces.MSBuild" Version="4.11.0" />
	  <PackageReference Include="Microsoft.CodeAnalysis.CSharp.Workspaces" Version="4.11.0" />
@kamazheng kamazheng added the bug A bug to fix label Dec 17, 2024
@kamazheng
Copy link
Author

I update my file to be utf-8 encoding, that works.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A bug to fix
Projects
None yet
Development

No branches or pull requests

1 participant