Character problems

Alfonso Zafon (10/24/08 1:10PM)
Arnaud de Montard (10/24/08 2:05PM)
Alfonso Zafon (10/24/08 2:34PM)
Arnaud de Montard (10/24/08 4:08PM)
Alfonso Zafon (11/10/08 9:33AM)


Alfonso Zafon (10/24/08 1:10 PM)

Hello,

We are sending ( 4D2004 from MacOS 10.5) email with 4DIC without
problems.

We generate a text file with EXPORT  TEXT and attach the file.

If we open the file recived with Windows no problems.

But if we open the same file with MacOSX 10.3 or 10.5 the special

spanish characters does not get right.

We defined always first :

$vError:=SMTP_SetPrefs (1;1;0)

$vError:=SMTP_Charset (1;1)

and we have tried with:

$vError:=SMTP_Attachment ($vSmtp_id;"Asistente";2)

and

$vError:=SMTP_Attachment ($vSmtp_id;"Asistente";7)

Where is the problem ?

T.I.A.

Bests.

Alfonso Zafon

-----------------------------------------------------

Idemsoft, S.L.

alfonso@...  http://www.idemsoft.com

963 455 103                   (+34)
963 455 103

GestiÛn - Hoteles - Inmobiliarias - Abogados - ...

Arnaud de Montard (10/24/08 2:05 PM)

Le 24 oct. 08 ý 13:10, Alfonso Zafon a Ècrit :

We are sending (4D2004 from MacOS 10.5) email with 4DIC without  

problems.

We generate a text file with EXPORT TEXT and attach the file.

If we open the file recived with Windows no problems.

But if we open the same file with MacOSX 10.3 or 10.5 the special  

spanish characters does not get right.

[...]

Where is the problem ?

Hi,

<http://www.4d.fr/documentation/4Ddoc2004/CMU/CMU00167.HTM>

"The export operation is made using the default ASCII map for the  

platform on which it is executed"

For a mac, export ascii mac.

Also, I think it's better to always encode attachments in Base64
before:

<http://www.4d.fr/documentation/4Ddoc2004/CMF/CMF00895.HTM>

--

Arnaud de Montard

Alfonso Zafon (10/24/08 2:34 PM)

Hi,

Arnaud de Montard escribi&Ucirc;:

Le 24 oct. 08 &yacute; 13:10, Alfonso Zafon a &Egrave;crit :

We are sending (4D2004 from MacOS 10.5) email with 4DIC without

problems.

We generate a text file with EXPORT TEXT and attach the file.

If we open the file recived with Windows no problems.

But if we open the same file with MacOSX 10.3 or 10.5 the special

spanish characters does not get right.

[...]

Where is the problem ?

Hi,

<http://www.4d.fr/documentation/4Ddoc2004/CMU/CMU00167.HTM>

"The export operation is made using the default ASCII map for the

platform on which it is executed"

For a mac, export ascii mac.

But I send it from MacOs and I can not read on MacOs ?&oslash; but can with
Windows

Also, I think it's better to always encode attachments in Base64
before:

<http://www.4d.fr/documentation/4Ddoc2004/CMF/CMF00895.HTM>

How can I do it with Export Tex ?

Thanks Arnaud .

Arnaud de Montard (10/24/08 4:08 PM)

Le 24 oct. 08 &yacute; 14:34, Alfonso Zafon a &Egrave;crit :

<http://www.4d.fr/documentation/4Ddoc2004/CMU/CMU00167.HTM>

"The export operation is made using the default ASCII map for the  

platform on which it is executed"

For a mac, export ascii mac.

But I send it from MacOs and I can not read on MacOs ?&oslash; but can with  

Windows

Also, I think it's better to always encode attachments in Base64  

before:

<http://www.4d.fr/documentation/4Ddoc2004/CMF/CMF00895.HTM>

How can I do it with Export Text ?

after export:

  doc to blob

  encode

  bob to doc

--

Arnaud de Montard

Alfonso Zafon (11/10/08 9:33 AM)

Thanks Arnaud. It works.

Bests.

Alfonso Zafon

-----------------------------------------------------

Idemsoft, S.L.

alfonso@...  http://www.idemsoft.com

963 455 103                   (+34)
963 455 103

Gesti&Ucirc;n - Hoteles - Inmobiliarias - Abogados - ...

-----------------------------------------------------

Arnaud de Montard escribi&Ucirc;:

Le 24 oct. 08 &yacute; 14:34, Alfonso Zafon a &Egrave;crit :

<http://www.4d.fr/documentation/4Ddoc2004/CMU/CMU00167.HTM>

"The export operation is made using the default ASCII map for the

platform on which it is executed"

For a mac, export ascii mac.

But I send it from MacOs and I can not read on MacOs ?&oslash; but can with

Windows

Also, I think it's better to always encode attachments in Base64

before:

<http://www.4d.fr/documentation/4Ddoc2004/CMF/CMF00895.HTM>

How can I do it with Export Text ?

after export:

 doc to blob

 encode

 bob to doc

Reply to this message

Summary created 11/10/08 at 9:49AM by Intellex Corporation

Comments welcome at: feedback@intellexcorp.com