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.

–1 vote
784 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
in Miscellaneous by Jakuje (Moderator) (117k 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
by Target. (Expert) (104k points)
selected 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.
...