cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
yus
Level: Powered On

Convert PDF does not support Japanese.

Hi,

 

I can make PDF from HTML by Flow. However if HTML contains Japanese Flow is failed with below message when convert files.

Is there any good workaround or information?

My reference are  https://www.youtube.com/watch?v=2rfAQe1kK8M and http://www.cleverworkarounds.com/2018/03/09/three-ways-to-convert-html-to-pdf-using-microsoft-flow/

 

 

{
  "status"400,
  "message""We don't support the language present in the file.\nInnerExceptionMessage: \nStackTrace:    at OneDrive.Media.Transforms.Rasterizers.HtmlRasterizer.ThrowIfLanguageIsNotSupported(String message) in C:\\agent\\2\\_work\\3\\s\\Transforms\\Rasterizers\\HtmlRasterizer.cs:line 189\r\n   at OneDrive.Media.Transforms.Rasterizers.HtmlRasterizer.<>c__DisplayClass18_0.<Generate>b__0() in C:\\agent\\2\\_work\\3\\s\\Transforms\\Rasterizers\\HtmlRasterizer.cs:line 121\r\n   at OneDrive.Media.Utilities.MemoryStreamHelper.ExecuteAndDisposeStreamIfErrorOccurs(Stream outputStream, Action method) in C:\\agent\\2\\_work\\3\\s\\Utilities\\MemoryStreamHelper.cs:line 58\r\n   at OneDrive.Media.Transforms.Rasterizers.HtmlRasterizer.Generate(String htmlContent, ConvertHtmlParameters parameters) in C:\\agent\\2\\_work\\3\\s\\Transforms\\Rasterizers\\HtmlRasterizer.cs:line 114\r\n   at OneDrive.Media.Transforms.Rasterizers.HtmlRasterizer.<ConvertHtmlAsync>d__17.MoveNext() in C:\\agent\\2\\_work\\3\\s\\Transforms\\Rasterizers\\HtmlRasterizer.cs:line 98\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at OneDrive.Media.Transforms.Rasterizers.HtmlRasterizer.<ConvertWithinSandboxAsync>d__16.MoveNext() in C:\\agent\\2\\_work\\3\\s\\Transforms\\Rasterizers\\HtmlRasterizer.cs:line 83\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at OneDrive.Media.Utilities.Sandbox.SandboxService.<RunRequestAsync>d__1.MoveNext() in C:\\agent\\2\\_work\\3\\s\\Sandbox\\SandboxService.cs:line 55\n ThrowSite: ",
  "source""api.connectorp.svc.ms"
}

 

Best regards.

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

Re: Convert PDF does not support Japanese.

Hi @yus,

 

I afraid that there is no any way to Convert HTML which contains Japanese to PDF in microsoft flow currently.

 

If you would like this feature to Convert HTML which contains Japanese to PDF to be added in Microsoft Flow, please submit an idea to Flow Ideas Forum:

https://powerusers.microsoft.com/t5/Flow-Ideas/idb-p/FlowIdeas

 

Best regards,

Alice

View solution in original post

3 REPLIES 3
Community Support Team
Community Support Team

Re: Convert PDF does not support Japanese.

Hi @yus,

 

I afraid that there is no any way to Convert HTML which contains Japanese to PDF in microsoft flow currently.

 

If you would like this feature to Convert HTML which contains Japanese to PDF to be added in Microsoft Flow, please submit an idea to Flow Ideas Forum:

https://powerusers.microsoft.com/t5/Flow-Ideas/idb-p/FlowIdeas

 

Best regards,

Alice

View solution in original post

yus
Level: Powered On

Re: Convert PDF does not support Japanese.

Highlighted
mokhawaja
Level 8

Re: Convert PDF does not support Japanese.

Hi,

the same error appears with Arabic language.

is there any workaround?

 

regards,

Mohammad

Helpful resources

Announcements
firstImage

Microsoft Business Applications Virtual Launch Event

Watch the event on demand for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 Release Wave 2 Plan

Power Platform 2019 Release Wave 2 Plan

Features releasing from October 2019 through March 2020.

thirdimage

Flow Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Flow Community Video Gallery!

Users Online
Currently online: 527 members 4,809 guests
Please welcome our newest community members: