Jump to content

"No mapping for the Unicode character exists in the target multi-byte code page"


zhyhero

Recommended Posts

(successed with VCL Form App)

 

I use Aurelius  in  my unigui app.

First, I declare an Entity (Aurelius Orm Object).

The Entity has Russian, French and Japanese Property(Name),  and  just for test.

Entity.png.30e036c5811bc5eb2b1682894f630d43.png

Second, bind  to  AureliusDataSet.

AureliusDataSet_FieldDefs.png.e23d488265ee6939054140a2361bf6cc.pngAureliusDataset_Fields.png.5ea381e33c9242cda9a9271193927e84.png

Run this app,got error.

Error.png.bd7bcaa6613248a886a7fda0764e55f9.png

Debug ,   get callstack.

CallStack_LocalVarables.thumb.png.2e82c832c7b31851c70acda8781d3058.png

Fields.

Declare.png.295553d435ec56df58f68608be95a17f.png

 

 

 

Any Idea ?

 

 

Link to comment
Share on other sites

On 1/17/2022 at 8:45 AM, mikromundo said:

Try use UTF8.

The test was successed running by VCL Application mode,    no need change souce file to UTF8.

And if there has only one  AureliusDatasetXXXXXX object (TSomeField type, Not the entity class) declare with none english characters name  ,it may successed running by Unigui Application mode.

look call statck ==> ObjectTextToBinary()->.............->TParser.TokenString-> TEncoding.GetString()

I guess there have some problem during  "cast .dfm file or it's TStream object" process.

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...