melody
  •  melody
  • 54.8% (Neutral)
  • YAF Forumling Topic Starter
2010-06-08T07:15:51Z
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
2010-06-08T07:51:06Z
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
2010-06-08T08:08:25Z
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
2010-06-08T08:25:44Z
Can I just add a "{" before "1}"? Do I miss anything?thank you very much

About Us

The YAF.NET is an open source .NET forum project. YAF.NET is supported by an team of international developers who are build community by building community software.

Powered by Resharper Donate with PayPal button

Project Twitter Updates

Copyright © YetAnotherForum.NET & Ingo Herbote. All rights reserved