This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.

rakhymberdin
rakhymberdin

Hi, I created a plugin for my site via builder. My plugin has a repeater field, it saves data in json format.

But the problem is that I want to save the data in Cyrillic, so now it saves like this: [{"trademarks_title":"\u042d\u0442\u043e \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435 \u043c\u0430\u0440\u043a\u0438", "trademarks_image":"",}]

But I need to save like this: [{"trademarks_title":"Это название марки", "trademarks_image":"",}]

In the model: protected $jsonable = ['trademarks'];

How to save data in Cyrillic ?

Last updated

1-1 of 1

You cannot edit posts or make replies: the forum has moved to talk.octobercms.com.