Return to Project-GC

Welcome to Project-GC Q&A. Ask questions and get answers from other Project-GC users.

If you get a good answer, click the checkbox on the left to select it as the best answer.

Upvote answers or questions that have helped you.

If you don't get clear answers, edit your question to make it clearer.

Unicode characters in alphabet checkers

–1 vote
136 views
I was trying to do checker for cache GC3QRAQ, but I ended up with problem with these special characters. When I insert them into the tag, it works fine, but when I see the tag on the checker page, there are escaped unicode characters and it doesn't work well in Lua.

This is not checker requrest, but more like error report in checker or question if it is even possible to make this in Project-GC environment.

http://project-gc.com/Challenges/GC3QRAQ/1979
asked Nov 13, 2014 in (OBSOLETE) Checker requests by Jakuje (Moderator) (103,190 points)
escaped characters in region and county filter works.  like {"region":"V√§sterbotten"}
Maybe  there are some problem if they are in a string parsed by lua.
It is hard to see the problem when the tag is disabled. Please enable it. I suspect it might use my alphabetchecher
enabled. You can try now.

1 Answer

0 votes
 
Best answer
There a cheker working at http://project-gc.com/Challenges/GC3QRAQ/1992

Lua have som UTF8 problem and a had to use alphabet defines in the script.

It it possible to parse a custom alphabet and make in work but one missing API function has to be added
answered Nov 13, 2014 by Target. (Expert) (104,040 points)
selected Nov 13, 2014 by Jakuje (Moderator)
thank you. This solves my current problem.
But the point of this topic is still there. Is it right that it is not possible to pass UTF8 characters through tags to script?
Do you want my tag for testing or should I remove it?
Remove or disable it. It were not om my script
You can pass UTF8 code via the config but the the script has to written with API and not lua standard functions if you are manipulate the string by using a substring etc
If the value is only used for direct comparison or send to the AIP it works without problem

You can look at at alphabet checker with only aö below it work but because a missing UTF8StringLength a garbage empty character is added in the end
I have asked ganja1447 for the missing function

http://project-gc.com/Challenges//1994
OK. Thank you. I think this is solved by this time.
...