# Build error output is broken

**URL:** <https://forums.unrealengine.com/t/build-error-output-is-broken/433228>\
**Category:** Platform & Builds\
**Tags:** error, logging, build, unreal-engine, ubt, question, CPP\
**Created:** [September 5, 2018, 11:38am UTC](https://forums.unrealengine.com/t/build-error-output-is-broken/433228 "2018-09-05T11:38:07Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Vermond](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Vermond](https://forums.unrealengine.com/u/Vermond)\
**Post date:** [September 5, 2018, 11:38am UTC](https://forums.unrealengine.com/t/build-error-output-is-broken/433228/1 "2018-09-05T11:38:07Z")

</div>

After build failed, some character is showing just ???.  
So I make a simple error and compare output with 4.19

Build result  
4.19

> error C2065: ‘asdfasdf’: undeclared identifier
> 
> error C2143: syntax error: missing ‘;’ before ‘}’  
> 4.20  
> error C2065: ‘asdfasdf’: ??? ??? ???.
> 
> error C2143: ??? ???: ‘;’??(??) ‘}’ ??? ???.

Log at UE\_4.20\Engine\Programs\UnrealBuildTool\Log.txt also showing broken character.

> ParallelExecutor.ExecuteActions: D:\Develop\Unreal\DDakji\Source\DDakji\DDakjiPlayerController.cpp(116): error C2065: ‘asdfasdf’: ������� ���� �ĺ����Դϴ�.
> 
> ParallelExecutor.ExecuteActions: D:\Develop\Unreal\DDakji\Source\DDakji\DDakjiPlayerController.cpp(137): error C2143: ���� ����: ';'��(��) ‘}’ �տ� �����ϴ�.

This log text saved as UTF-8 I think. (when trying Save As, encoding shows UTF-8)

I`ve changed window`s and visual studio`s language but had no effect. I think it`s a sort of ubt`s problem. Maybe language/encoding error.

How can I fix it? I want to change ubt`s output language if possible.

---

<div class="post-metadata">

**Author:** ![Vermond](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Vermond](https://forums.unrealengine.com/u/Vermond)\
**Post date:** [September 6, 2018, 3:29am UTC](https://forums.unrealengine.com/t/build-error-output-is-broken/433228/2 "2018-09-06T03:29:08Z")

</div>

Well, there is some mistake or I saw something wrong. I changed VS language to English and output was out as English. Still have problem but I can go further.

---

<div class="post-metadata">

**Author:** ![Dandello2000](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Dandello2000](https://forums.unrealengine.com/u/Dandello2000)\
**Post date:** [October 11, 2019, 1:34pm UTC](https://forums.unrealengine.com/t/build-error-output-is-broken/433228/3 "2019-10-11T13:34:44Z")

</div>

I won’t call this a solution (it isn’t) but an observation. The diamonds (AKA WTF diamonds in some circles) indicate that the log is being presented as a non UTF-8 encoding. Switching to English ‘solves’ the problem because English is functionally ASCII only. At a guess I’d say that there was a bug in 4.20. If you were describing an HTML page, I’d say either the browser or the HTML page had the wrong default encoding.

Hopefully this problem will get resolved in the next engine iteration.
