• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
1

After Effects error:could not convert Unicode characters. (23:46)

Community Beginner ,
May 26, 2014 May 26, 2014

Copy link to clipboard

Copied

Hey guys,

     I'm trying to change the output path for a render queue item.

     But I always get this error "After Effects error:could not convert Unicode characters. (23:46)".

     Here's my code

    

     A_char outPath[256] = "D:/test.mp4";

     ERR(suites.OutputModuleSuite4()->AEGP_SetOutputFilePath(0, 0, outPath));

     What I'm doing wrong? Help me please! Thank you very much!!!!!

TOPICS
SDK

Views

2.6K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , May 26, 2014 May 26, 2014

you need to use A_UTF16Char instead of A_char.

Votes

Translate

Translate
Community Expert ,
May 26, 2014 May 26, 2014

Copy link to clipboard

Copied

you need to use A_UTF16Char instead of A_char.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
May 26, 2014 May 26, 2014

Copy link to clipboard

Copied

Hi shachar carmi,

     Thanks for your help, you are the man!!!

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
May 26, 2014 May 26, 2014

Copy link to clipboard

Copied

By the way, in case anyone is having the same problem, here's the full code

const A_UTF16Char *outPath = reinterpret_cast<const A_UTF16Char *>(L"C:\\whee.mov");

ERR(suites.OutputModuleSuite4()->AEGP_SetOutputFilePath(0, 0, (A_char*)outPath));

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
May 14, 2018 May 14, 2018

Copy link to clipboard

Copied

Hi, Zhiqing_Li. I have the same issue. I receive this error every time I start After Effects and it has never been able to open properly since last week.

I'm using the latest version of After Effects CC 2018

OSX El Capitan (10.11.4)

It just started doing this last week. I'm not sure where you're suggesting to place the code you've listed. Any help is appreciated.

Thanks,

Earl

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
May 25, 2018 May 25, 2018

Copy link to clipboard

Copied

LATEST

Hi Earl,

This is an old thread.  You're in the developer's forum, but it sounds like you may have run into the problem not during development, but during normal use?  In that case, try uninstalling any third-party plug-ins you may have installed to manage rendering.

If you pinpoint the one plug-in that causes it, you could pass along the bug report to the developer of that plug-in.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines