How can I treat Unicode-Japanese field ?

Whether you're using the Standard or Professional Edition of Quartam Reports, this is the place to ask general questions about using this industry-level reporting tool for LiveCode.
Locked
NingImport
Posts: 87
Joined: Sun Jul 18, 2010 5:23 pm

How can I treat Unicode-Japanese field ?

Post by NingImport » Sun Jul 18, 2010 5:45 pm

How can I treat Unicode-Japanese field ?

Posted by YOKOTA Fumitaka on July 8, 2008 at 1:25pm

Hi, everyone

I am Japanese user of Runtime Revolution and Quartam Reports.

Now I am trying to treat Unicode - Japanese on both Revolution and Reports. But haven't got succeeded yet.


Below is my ".qrl" file on QRBuilder.


Below is my stack "PLU-Test".


(1) is fld "ListTable", (2) is fld "JANList", (3) is fld "item5" and this is for making BARCODE-JAN, this is ASCII, not UNICODE

On QRBuilder (1)fld "ListTable" is set the format result as UNICODE.
Also (2)fld "JANList" is set the format result as UNICODE.

This setting result both fields as displaying incorrect, "MojiBake" inJapanese.

As (3)fld "item5" is ASCII, it can be shown as BARCODE correctly.

How can I improve this ?

Hope some one help me.


YOKOTA Fumitaka
www.TAjimiYORI.com

=====

Reply by Jan Schenkel on July 8, 2008 at 9:53pm
Send Message
Delete
Hi YOKOTA-san,

The option menu 'Format result as:' is perhaps not perfectly labeled: what it means is that the result of the expression will be interpreted as plain text, unicode, html text or rtf text (and some other options for formatting as a number, date or even a PrintF() expression).

So try using as expression:
the unicodeText of field "'ListTable"
And leaving the format result as 'Unicode'.

If you also want to save the style of the field (bold, italic,...) then use as expression:
the htmlText of field "ListTable"
And changing the format result to 'Htmltext'.

Hope this helped,

Jan Schenkel.
--
Quartam Reports & PDF Library for Revolution
www.quartam.com

=====

Reply by YOKOTA Fumitaka on July 9, 2008 at 1:16pm

Hi Jan-san,

It's perfect. Your advice made my field showing Unicode-Japanese correctly.
Thanks for your help.

But I found another problem, see below;




And when I set Format result as Unicode, "Do not wrap" property does not work.
Is it natural ?

--
TAjimiYORI
www.tajimiyori.com

=====

Reply by Jan Schenkel on July 9, 2008 at 8:21pm

Hi YOKOTA-san,

The Unicode format setting isn't what turns on word wrap - it's the fact that it's a stretching field. This is due to problems I ran into when implementing those stretching fields, and everything slowing down to a crawl under the wrong combinations.

As for those items not sliding down - could you email the .qrl file to me directly at jan.schenkel@quartam.com ? Oh, also CC: to janschenkel@yahoo.com as I think my Domain Registrar is having mail problems again, just like in early January.

Best regards,

Jan Schenkel
--
Quartam Reports & PDF Library for Revolution
www.quartam.com

=====

Reply by YOKOTA Fumitaka on July 10, 2008 at 1:23am

Hi Jan-san,

Thanks for your replay.
I'm going to send my ".qrl" file to you, both address.

Please tale a look at it.

TIA

--
TAjimiYORI
www.tajimiyori.com

=====

Reply by Eric Debrosse on July 11, 2008 at 12:13pm

hi Yokoto and Jan,

I find a answer in this discussion about "save the style of field (bold , italique..), it is ok now.

Thanks for yours helps

Eric Debrosse
===== The above post was imported from the old forum hosted at quartam.ning.com =====

Locked