French accents

Panagiotis Apostolellis takis73 at gmail.com
Tue Jul 7 02:43:12 CDT 2009


Hello there Loic.

I presume your problem has to do with the font and not the database. I have
recently implemented a database with a combination of Greek and French
letters and it was a nightmare to make them work in Director. Here are some
things I came up with:
a) If you import data in VStudio from a text file, use UTF-16 encoding to
preserve all "weird" characters
b) Any font you use in Director version 11 and above has definitely to be
UNICODE
c) If you use a unicode system font (like Arial Unicode) then all characters
should appear fine and have styling as well (bold, italics)
d) If you embedd the font in Director, then weird things happen, like: 1)
you cannot have styling (ignored in Text window), 2) if you apply styling
then most probably you will loose the French accented characters. So instead
import the font again, choose a Style from the Insert>Font... menu and give
a different name to the Font cast member, which you will use in the Text
window.

I haven't used the IOEncoding property and don't think would have made any
difference. I strongly believe, the problem lies within the lame font
manipulation by Director 11 or 11.5. In any case you can try my advice and
provide some feedback.

Regards,
Takis

2009/7/7 Loïc REMY <loicremy at atelia.net>

> Hi Ruslan
>
> I just try this mod but without result :
>
>  Valentina = new( xtra "Valentina" )
>  Valentina.init( 9 * 1024 * 1024, "", "" )
>  Valentina.debugLevel = #kLogErrors
>
>  gDB = new ( xtra "VDatabase" )
>  gDB.Open( the moviepath & "/db/lrp.vdb" )
>  gDB.IOEncoding = "France"
>
> I tried some other parameters : UTF-8, Latin1...without result to.
>
> I don't know where to find precisions about this property (IOEncoding)
> since, in Pdf Manuel, it is only mentioned in summary ?
>
> Best regards, an thank you
>
> Loïc
>
>
> -----Message d'origine-----
> De : valentina-bounces at lists.macserve.net [mailto:
> valentina-bounces at lists.macserve.net] De la part de Ruslan Zasukhin
> Envoyé : lundi 6 juillet 2009 17:06
> À : valentina at lists.macserve.net
> Objet : Re: French accents
>
> On 7/6/09 5:11 PM, "Loïc REMY" <loicremy at atelia.net> wrote:
>
> Hi Loïc,
>
> > I¹m a Valentina¹s beginner and I just develop a little application. I use
> > Director 11.5 and I got a database whit French texts. In Valentina
> Studio, I
> > can see all accents (éàŠ) but inside Director, they are replaced by a
> little
> > square.
> >
> >
> >
> > Can you help me to solve that little problem ?
>
> I think you need take a look on
>
>    Vdatabase.IOEncoding = "France"
>
> property
>
>
> --
> Best regards,
>
> Ruslan Zasukhin
> VP Engineering and New Technology
> Paradigma Software, Inc
>
> Valentina - Joining Worlds of Information
> http://www.paradigmasoft.com
>
> [I feel the need: the need for speed]
>
>
> _______________________________________________
> Valentina mailing list
> Valentina at lists.macserve.net
> http://lists.macserve.net/mailman/listinfo/valentina
>
>
>
> _______________________________________________
> Valentina mailing list
> Valentina at lists.macserve.net
> http://lists.macserve.net/mailman/listinfo/valentina
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macserve.net/pipermail/valentina/attachments/20090707/074af98a/attachment.html 


More information about the Valentina mailing list