YAFLogo

melody
  • melody
  • 54.8% (Neutral)
  • YAF Forumling Topic Starter
14 years ago
I am using Chinese OS system,in file: YAF.Classes\YAF.Classes.UI\BBCode\ReplaceRules.cs

lines 1106 look like this:

private string _replaceFormat = "黢襸1}曛{0}蹑?;

what is the real words? thank you!

if I try to change it to "xxx{1}x{0}xxx" the source will we compiled OK

Sponsor
bbobb
  • bbobb
  • 100% (Exalted)
  • YAF Developer
14 years ago
It doesn't compile on your system because of a missing {.

It's treated as a part of a unicode symbol.

On my dev. comp it looks so:

"чсТ{1}кЦ{0}хжч"

melody
  • melody
  • 54.8% (Neutral)
  • YAF Forumling Topic Starter
14 years ago
So what's this for? why use this characters?I add a "{" to RC1 I can compile and run well,but on RC2 it doesn't work,now i use

private string _replaceFormat = "a{1}b{0}c";

to replace it,I can compile and it works,but I don't know what I missed:(

melody
  • melody
  • 54.8% (Neutral)
  • YAF Forumling Topic Starter
14 years ago
Can I just add a "{" before "1}"? Do I miss anything?thank you very much