# Strange text troubles

**URL:** <https://discourse.cataclysmdda.org/t/strange-text-troubles/24209>\
**Category:** The Garage\
**Created:** [July 21, 2020, 8:43am UTC](https://discourse.cataclysmdda.org/t/strange-text-troubles/24209 "2020-07-21T08:43:52Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Vadim\_Balashoff](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/vadim_balashoff/32/9639_2.png) [@Vadim\_Balashoff](https://discourse.cataclysmdda.org/u/Vadim_Balashoff)\
**Post date:** [July 21, 2020, 8:43am UTC](https://discourse.cataclysmdda.org/t/strange-text-troubles/24209/1 "2020-07-21T08:43:52Z")

</div>

I’ve not played CDDA for a while. After git pull I’ve compile it and try to play.  
There are some strange additional symbols start to appear even on main menu and in the game itself. There are on all of my computers, so it’s not a problem on particular system.  
I use ASCII mode, commit 4795a1e37adbd75f683ad7391e7060e4a6fda6a8 (current for 21.07.2020)

## Simple way to produce: Select “New game”. And here we are:

```
  Allows you to fully customize points pool, scenario, and character's profession, stats, traits, skills and otheM
  -b~@M-&

```

* * *

All these “-b~@M-&” are throughout the UI. No chance to play the game.

## After play now following message appears:

## An error has occurred! Written below is the error report:

DEBUG : Error: data/mods//dda/…/…/json/mapgen\_palettes/house\_general\_palette.json: line 73:13: duplicate entry in json object

```
  "M-C~X": "f_pinball_machine",
  "M-C~F": "f_arcade_machine",
  "M-b~H~^":
        ^
         "f_foot_locker",
  "M-b~IM- ": "f_chest",
  "M-JM--": "f_ladder"

```

* * *

---

<div class="post-metadata">

**Author:** ![Zhilkin](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/zhilkin/32/3749_2.png) [@Zhilkin](https://discourse.cataclysmdda.org/u/Zhilkin)\
**Post date:** [July 21, 2020, 11:04am UTC](https://discourse.cataclysmdda.org/t/strange-text-troubles/24209/2 "2020-07-21T11:04:24Z")

</div>

Try using a different terminal (or change terminal settings in existing terminal) - it looks like there is an issue with Unicode characters.

It is also possible that invalid library is used during compiling/linking/in runtime - you need to use `libncursesw` with wide character support.

---

<div class="post-metadata">

**Author:** ![Zhilkin](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/zhilkin/32/3749_2.png) [@Zhilkin](https://discourse.cataclysmdda.org/u/Zhilkin)\
**Post date:** [July 21, 2020, 11:05am UTC](https://discourse.cataclysmdda.org/t/strange-text-troubles/24209/3 "2020-07-21T11:05:25Z")

</div>

As for duplicate mapgen palette entry error - it would be resolved soon.

---

<div class="post-metadata">

**Author:** ![Vadim\_Balashoff](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/vadim_balashoff/32/9639_2.png) [@Vadim\_Balashoff](https://discourse.cataclysmdda.org/u/Vadim_Balashoff)\
**Post date:** [July 21, 2020, 11:24am UTC](https://discourse.cataclysmdda.org/t/strange-text-troubles/24209/4 "2020-07-21T11:24:45Z")

</div>

I’ve compiled with cmake. it seems that current CMakeModules/FindCurses.cmake is not using CURSES\_NEED\_WIDE.  
There is an example how to use it:

> **[FindCurses: Add option for ncursesw detection (4b02afc0) · Commits · CMake /...](https://gitlab.kitware.com/cmake/cmake/commit/4b02afc0caf46244f12f87f363ace6c1ab47fae5)**
>
> This is a remake of the patch from issue #10347 but based on current master. Works for me on Lubuntu 17.04. Fixes: #10347

---

<div class="post-metadata">

**Author:** ![Zhilkin](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/zhilkin/32/3749_2.png) [@Zhilkin](https://discourse.cataclysmdda.org/u/Zhilkin)\
**Post date:** [July 21, 2020, 12:19pm UTC](https://discourse.cataclysmdda.org/t/strange-text-troubles/24209/5 "2020-07-21T12:19:01Z")

</div>

If your compiling with CMake - there is a known issue.

> <https://github.com/CleverRaven/Cataclysm-DDA/issues/39053>
>
> Until now I didn't use the provided Makefile but generated it with cmake. Building TILES version worked just fine, but when...

---

<div class="post-metadata">

**Author:** ![Vadim\_Balashoff](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/vadim_balashoff/32/9639_2.png) [@Vadim\_Balashoff](https://discourse.cataclysmdda.org/u/Vadim_Balashoff)\
**Post date:** [July 21, 2020, 12:21pm UTC](https://discourse.cataclysmdda.org/t/strange-text-troubles/24209/6 "2020-07-21T12:21:59Z")

</div>

Ok, I’ve compile it with gcc. But there is another problem – there are letters ‘q’ and ‘x’ instead of window frames.
