Items and item group in website error

the item group and items in my system are in Arabic language .
so when i try to navigate it in website i faced this error message

Traceback (most recent call last): File "/home/frappe/frappe-bench/apps/frappe/frappe/website/", line 32, in render data = render_page_by_language(path) File "/home/frappe/frappe-bench/apps/frappe/frappe/website/", line 101, in render_page_by_language return render_page(path) File "/home/frappe/frappe-bench/apps/frappe/frappe/website/", line 117, in render_page return build(path) File "/home/frappe/frappe-bench/apps/frappe/frappe/website/", line 124, in build return build_page(path) File "/home/frappe/frappe-bench/apps/frappe/frappe/website/", line 137, in build_page context = get_context(path) File "/home/frappe/frappe-bench/apps/frappe/frappe/website/", line 15, in get_context context = get_page_context(path) File "/home/frappe/frappe-bench/apps/frappe/frappe/website/", line 18, in get_page_context page_context = make_page_context(path) File "/home/frappe/frappe-bench/apps/frappe/frappe/website/", line 27, in make_page_context context = resolve_route(path) File "/home/frappe/frappe-bench/apps/frappe/frappe/website/", line 44, in resolve_route context = get_page_context_from_template(path) File "/home/frappe/frappe-bench/apps/frappe/frappe/website/", line 66, in get_page_context_from_template if os.path.exists(o) and not os.path.isdir(o): File "/home/frappe/frappe-bench/env/lib/python2.7/", line 18, in exists os.stat(path) UnicodeEncodeError: 'ascii' codec can't encode characters in position 49-52: ordinal not in range(128)

how can i change the encode to unicode from ascii to UTF-8

Please help @rmehta

@Mahmoud_Ghoneem please don’t @-tag someone unless you are relying :frowning:

Can you raise this on GitHub Issues?

sorry about asking you for help ! promise it will be the last time to do :slight_smile:

Gents, another one for language this case Portuguese when the Item (Mão de Obra Mecânica) is on the Website and the user click on it the below error message is shown:

i`v solved it “Temporary” by edit the website route from item doctype to
include only English

Thanks for the tip it works for now… Just nem d to put a reminder of
every item created.