Hello!
I am reading “Build It With Nitrogen” book right now. I am on the page 82 and I have a problem with associates’ names. If I use only english letters for associates’ names then everything is fine.
But if I use non-latin (first or last) name for an associate on a previous stage, cyrillic “Фырг” for example, then at http://localhost:8000/iam I see this:
⚠ There was an error processing this page ⚠
error:badarg
--------------------------
[{erlang,list_to_binary,
[[1060,1099,1088,1075]],
[{error_info,#{module => erl_erts_errors}}]},
{wf_convert,to_binary,1,[{file,"src/lib/wf_convert.erl"},{line,102}]},
{element_dropdown,is_selected,2,
[{file,"src/elements/forms/element_dropdown.erl"},
{line,138}]},
{element_dropdown,create_option_full,3,
[{file,"src/elements/forms/element_dropdown.erl"},
{line,115}]},
{element_dropdown,create_options,3,
[{file,"src/elements/forms/element_dropdown.erl"},
{line,88}]},
{element_dropdown,create_options,3,
[{file,"src/elements/forms/element_dropdown.erl"},
{line,88}]},
{element_dropdown,render_element,1,
[{file,"src/elements/forms/element_dropdown.erl"},
{line,27}]},
{wf_render_elements,call_element_render,3,
[{file,"src/lib/wf_render_elements.erl"},{line,158}]}]
I tried to verify the source of the problem:
1> <<1060,1099,1088,1075>>.
<<"$K@3">>
2> <<"Фырг">>.
<<"$K@3">>
Is it a problem with unicode support in Nitrogen? Should I choose another framework or maybe there’s some way to deal with that kind of problems?