1. Attilio iLaga
  2. Valentina Reports ADK
  3. 火, 2月 14 2017, 01:44 PM
  4.  メールで購読
hello,
I need help in order to format monetary values ​​in the report according to the Italian standard (eg: #. ###, ##). I read in the documentation link of use patterns.
The problem is that using xojo web the "locale" server is set as the American format, then format the data for use by the application xojo.Core.Locale ( "it-IT";). There is also a similar command on valentine report? Is there a way to specify the locale format of reports directly from the application?
コメント
There are no comments made yet.
Ruslan Zasukhin 承諾済みの回答
Advice,

before call to our func which crashes,
in Xojo debugger -- you can see each string object and its encoding.

We guess that some string has odd encoding. Not Utf8, utf16 AscII

You can check this and if really true, then you can use str.SetEncoding = utf8 for it
コメント
There are no comments made yet.
Ruslan Zasukhin 承諾済みの回答
Yes we made few changes (to get better speed) with Xojo strings.

We use now other funds of Xojo SDK for plugins.
But it seems, our code is not protected yet for all possible string encodings.

Right now code is ready to get UTF8, UTf16, ASCII strings.
コメント
There are no comments made yet.
Attilio iLaga 承諾済みの回答
If not specific encoding Debugging defines nil. Using DefineEncoding (ds_str, Encodings.UTF8) sect properly
添付ファイル
コメント
There are no comments made yet.
Sergey Pashkov 承諾済みの回答
And with encoding defined for all 3 parameters - the same crash happens?
コメント
There are no comments made yet.
Attilio iLaga 承諾済みの回答
No, no more crashes. Now it all works.
Thank you
コメント
There are no comments made yet.
  • ページ :
  • 1
  • 2


There are no replies made for this post yet.
However, you are not allowed to reply to this post.

Categories

Announcements & News
  1. 0 subcategories
Valentina Studio
  1. 2 subcategories
Valentina Server
  1. 4 subcategories
Valentina Database ADK
  1. 0 subcategories
Valentina Reports ADK
  1. 0 subcategories
Other Discussions
  1. 0 subcategories
BETA Testing
  1. 0 subcategories
Education & Research
  1. 0 subcategories
Omegabundle
  1. 0 subcategories