HylaFAX The world's most advanced open source fax server

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

Problem with international caractere



Hi,

I can't send fax with international caractere (like in my signature
above of this message).

I installed :
	ghostscript-fonts-other-5.10-6.noarch.rpm
	ghostscript-fonts-std-5.10-7.noarch.rpm
	libjpeg6a-6a-4.i386.rpm
	hylafax-4.0pl2-3rh5.i386.rpm
 on a 486 PC (for test) with RedHat 6.0

I create a text file 1.txt with only my signature and I try this
command:

/usr/sbin/typetest 1.txt 
match against (..., 276)
rule: offset 0 string = "%!" -- failed (comparison)
rule: offset 0 short = 0x4d4d -- failed (comparison)
rule: offset 0 short = 0x4949 -- failed (comparison)
rule: offset 0 short = 0x1da -- failed (comparison)
rule: offset 0 short = 0x1f1e -- failed (comparison)
rule: offset 0 short = 0x1f9d -- failed (comparison)
rule: offset 0 short = 0x506 -- failed (comparison)
rule: offset 0 short = 0x5343 -- failed (comparison)
rule: offset 0 short = 0xf702 -- failed (comparison)
rule: offset 0 string = "GIF" -- failed (comparison)
rule: offset 0 long = 0x59a66a95 -- failed (comparison)
rule: offset 0 string = "x T psc" -- failed (comparison)
rule: offset 0 string = "begin" -- failed (comparison)
rule: offset 0 string = "xbtoa" -- failed (comparison)
rule: offset 0 string = "P1" -- failed (comparison)
rule: offset 0 string = "P2" -- failed (comparison)
rule: offset 0 string = "P3" -- failed (comparison)
rule: offset 0 string = "P4" -- failed (comparison)
rule: offset 0 string = "P5" -- failed (comparison)
rule: offset 0 string = "P6" -- failed (comparison)
rule: offset 0 string = "WNGZWZSS" -- failed (comparison)
rule: offset 0 string = "#Inventor V" -- failed (comparison)
rule: offset 0 ascii = -- failed (unprintable char 0xe9)
no match
1.txt: Can not determine file type

sendfax generated a same error ("Can not determine file type").

If I replace my é by e, it works (see next lines)

...
rule: offset 0 ascii = -- success (result postscript, rule "%F/textfmt
-B -f Courier-Bold       -Ml=0.4in -p 11 -s %s >%o <%i")     
...

I try it on my computer (redhat 6.0) with this pakage:

	hylafax-4.1beta1-1rh6.i386.rpm

It works.

I supposed a beta solve problem.  I install it on my 486 but the problem
occure again.

I check on source code and I find a isprint() function cause error
(unprintable char 0xe9). This function use LC_CTYPE and LANG env
variable to determine with caractere was printable. I try to set it to
fr, fr_CA, ISO-8859-1, but it change nothing (this variable was not set
on my PC and it works).

Somebody can help me.

Thank at advance

-- 

Carl Provencher
Programmeur/Analyste
Service d'Informatique et
des Télécommunications
Pavillon Casault
Cité Universitaire
Sainte-Foy, (Sainte-Foy)
Tél.: (418) 656-2131 poste: 8719
Fax.: (418) 656-7305
Couriel: Carl.Provencher@sit.ulaval.ca




Project hosted by iFAX Solutions