# Ansible J2 unicode

**URL:** <https://forum.ansible.com/t/ansible-j2-unicode/31601>\
**Category:** Ansible Developer\
**Created:** [November 5, 2019, 8:11pm UTC](https://forum.ansible.com/t/ansible-j2-unicode/31601 "2019-11-05T20:11:42Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![td784](https://avatars.discourse-cdn.com/v4/letter/t/aeb1de/32.png) [@td784](https://forum.ansible.com/u/td784)\
**Post date:** [November 5, 2019, 8:11pm UTC](https://forum.ansible.com/t/ansible-j2-unicode/31601/1 "2019-11-05T20:11:42Z")

</div>

Hi everyone.

When trying to template out a weblogic wl.properties file, I am running into a Jinja2 template problem.

Here is a snippet of code I am running into issues with:

---

<div class="post-metadata">

**Author:** ![sivel](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/sivel/32/1198_2.png) [@sivel](https://forum.ansible.com/u/sivel)\
**Post date:** [November 5, 2019, 8:21pm UTC](https://forum.ansible.com/t/ansible-j2-unicode/31601/2 "2019-11-05T20:21:22Z")

</div>

By doing this:

{{ [more\_servers] }}

You are creating a python list, and then printing it.

I think you instead want:

[{{ more\_servers }}]

---

<div class="post-metadata">

**Author:** ![td784](https://avatars.discourse-cdn.com/v4/letter/t/aeb1de/32.png) [@td784](https://forum.ansible.com/u/td784)\
**Post date:** [November 5, 2019, 8:25pm UTC](https://forum.ansible.com/t/ansible-j2-unicode/31601/3 "2019-11-05T20:25:12Z")

</div>

Matt,

you sir are a life saver! That is exactly what I am looking for.

Thanks much!!
