Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
How to Enable UTF-8 in Civil Tongue
Xfronter
New
How can i Add ** UTF-8 ** Words to Civil Tounge.
Please Guide me
0
Comments
Anyone Here Know This
In both versions.
I think there is a bug in both civil tongue ex in github and civil tongue
if you snip out getpattern routine and try a simple example
if ê is at the end of word replacement fails.
if ê is in the middle of word replacement works..
e.g.
produces
I want to replace vanillaê and ****
you could look in code for $Patterns
and try adding a "u" after the "s"
and it will correctly produce
I want to replace **** and ****
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
if you want to match censored word ชื่อที่คุณ
with a thai word as an example (english would be slightly different).
with this comment
XYZชื่อที่คุณXYZ and ชื่อที่คุณ
censors matches if not first or last letter.
XYZ****XYZ and ชื่อที่คุณ
text body
XYZชื่อที่คุณXYZ and ชื่อที่คุณ
censors match only for exact word
XYZชื่อที่คุณXYZ and ****
text body
XYZชื่อที่คุณXYZ and ชื่อที่คุณ
and doubling pattern array
censors match for part of word and word
XYZ****XYZ and ****
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
Simply Awesome.. Working Fine
Thanks Lot