Author Topic: Need help for accented characters  (Read 5348 times)

0 Members and 2 Guests are viewing this topic.

Offline pra15

  • Older Power User
  • *****
  • Posts: 173
    • View Profile
Need help for accented characters
« on: November 12, 2020, 07:40:14 pm »
I don't understand nothing about this problem.

I'm french, so i use many accented words.

I try to change value of CODE_PAGE in scripts but this not resolve the problem.

If someone have an idea to resolve this ........

Thanks.

Offline Ivek23

  • Global Moderator
  • *****
  • Posts: 2713
    • View Profile
Re: Need help for accented characters
« Reply #1 on: November 12, 2020, 08:51:58 pm »
Quote
CODE_PAGE      =28591 ;

Maybe Code Page Identifiers help solve the problem.
Ivek23
Win 10 64bit (32bit)   PVD v0.9.9.21, PVD v1.0.2.7, PVD v1.0.2.7 + MOD


Offline pra15

  • Older Power User
  • *****
  • Posts: 173
    • View Profile
Re: Need help for accented characters
« Reply #2 on: November 12, 2020, 10:01:59 pm »
Thanks for the link, 28591 doesn't work i'll try others.

I tried most of them except cyrilic chinese ...... but nothing works.
« Last Edit: November 12, 2020, 10:26:42 pm by pra15 »

Offline Ivek23

  • Global Moderator
  • *****
  • Posts: 2713
    • View Profile
Re: Need help for accented characters
« Reply #3 on: November 13, 2020, 06:57:47 pm »
Quote
CODE_PAGE      =0 ;  //Use 0 for Autodetect

What this also does not work. Then unfortunately I have no idea how to solve this problem.
Ivek23
Win 10 64bit (32bit)   PVD v0.9.9.21, PVD v1.0.2.7, PVD v1.0.2.7 + MOD


Offline pra15

  • Older Power User
  • *****
  • Posts: 173
    • View Profile
Re: Need help for accented characters
« Reply #4 on: November 14, 2020, 09:46:26 pm »
Finally I got around the problem and I use the function I had created in the egafd script for the search I use stringreplace in the text sent to parsepage (HTML) and I put the code_page at 65001 because my file psf is in utf-8.
It seems that it works, remains to complete the list of my accented characters in the function.

A very practical little utility to know the encoding code used on a web page : NUniversalCharDet
« Last Edit: November 14, 2020, 10:55:45 pm by pra15 »

 

anything