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

Problem with chars #104

Open
oliwex opened this issue Aug 11, 2020 · 2 comments
Open

Problem with chars #104

oliwex opened this issue Aug 11, 2020 · 2 comments

Comments

@oliwex
Copy link

oliwex commented Aug 11, 2020

Polish chars do not exists

dot.exe : Warning: Invalid 3-byte UTF8 found in input of graph g - treated as Latin-1. Perhaps "-Gcharset=latin1" is needed?
At C:\Program Files\WindowsPowerShell\Modules\PSGraph\2.1.38.27\PSGraph.psm1:857 char:33

  • ... $null = & $graphViz @($arguments + $file.path)
  •                                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : NotSpecified: (Warning: Invali...in1" is needed?:String) [], RemoteException
    • FullyQualifiedErrorId : NativeCommandError
@KevinMarquette
Copy link
Owner

Can you provide a simple example that produces that error?

If you want to try an dig into it deeper, save the graph to a file graph {...} | Set-Content $Path, then try using the dot.exe directly to try an render it. This will give you a chance to provide parameters directly to the rendering engine.

@oliwex
Copy link
Author

oliwex commented Aug 4, 2021

I think the problem is with non classic chars like in latin alphabet. For example i am querying AD and creating graph with user: John Śnieć, and the graphViz giving an error with letters ś and ć.
Is it possible to repair this?

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

No branches or pull requests

2 participants