dataplat / docs

The documentation for dbatools module. Issues with command doc and bugs should be reported to dataplat/dbatools.
https://docs.dbatools.io
15 stars 12 forks source link

Claudio's name requires unicode and messes up on the website #65

Closed potatoqualitee closed 2 years ago

potatoqualitee commented 2 years ago

Example: https://docs.dbatools.io/Move-DbaDbFile

niphlod commented 2 years ago

it's unfortunately due to get-help not being able to pull up the correct encoding if the help is inline . Guess it has to do with the fact that we don't use BOM in functions code.

image

potatoqualitee commented 2 years ago

HMM! Okay let's see what I can figure out 🤔

potatoqualitee commented 2 years ago

sweet! pwsh supports it, let me change the shell used and the UTF8 output

image

potatoqualitee commented 2 years ago

Booo that didnt work

potatoqualitee commented 2 years ago

Which file was that, @niphlod ?

potatoqualitee commented 2 years ago

found it!

potatoqualitee commented 2 years ago

yay, had to fix the output encoding in find-dbacommand

image

niphlod commented 2 years ago

then it should work oob for the site

potatoqualitee commented 2 years ago

WAHOO! I reverted the change in the docs repo and just changed the find-dbacommand file and rebuilt the json to be in Unicode but the webpages remain in UTF8BOM

image

Gonna go add some metadata stuff now