You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
hello,there is a problem when mustache template page call other page using {{>partialpage}} that does not support utf8 and give the text that is not engish wrong format so I modified your code to solve this problem and these is the code wrong
in MVCFramework.View.Renderers.Mustache in function LoadPartials these is the wrong code
fPartials.Add(lPartialName, TFile.ReadAllText(lPartialFileNames[i])
the right code is
fPartials.Add(lPartialName, TFile.ReadAllText(lPartialFileNames[i],TEncoding.UTF8)
I dont know to to modif code in github but I hoop some one fix it
The text was updated successfully, but these errors were encountered:
hello,there is a problem when mustache template page call other page using {{>partialpage}} that does not support utf8 and give the text that is not engish wrong format so I modified your code to solve this problem and these is the code wrong
in MVCFramework.View.Renderers.Mustache in function LoadPartials these is the wrong code
fPartials.Add(lPartialName, TFile.ReadAllText(lPartialFileNames[i])
the right code is
fPartials.Add(lPartialName, TFile.ReadAllText(lPartialFileNames[i],TEncoding.UTF8)
I dont know to to modif code in github but I hoop some one fix it
The text was updated successfully, but these errors were encountered: