Author Topic: File encoding: to many variety to chose from  (Read 1139 times)

Offline Stefan

  • Administrator
  • Hero Member
  • *****
  • Posts: 772
  • Karma: +6/-0
    • View Profile
File encoding: to many variety to chose from
« on: June 05, 2009, 05:07:23 pm »
File encoding: to many variety to chose from

There are tooo many code pages available in HE,...
    .... can we filter them?   
    Or maybe have favorites?

Because I don't need Cyrillic, Korean or Japan  ;D  but they disturb me while searching the right one.

I need only three: 1250 + 850 + unicode
Stefan, HippoEDIT beta tester  (HippoEDIT News On Twitter: http://twitter.com/hippoedit/)

Offline alex

  • Developer
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1666
  • Karma: +29/-2
    • View Profile
    • HippoEDIT
Re: File encoding: to many variety to chose from
« Reply #1 on: June 06, 2009, 02:42:20 pm »
These are same code pages that you see in Internet Explorer and installed in Windows. If you would install East Asian Pack, you would have even more :).

But as far as you use some code pages explicitly (select then from the list) they are moved to last used and shown on top of the list, so you do not need to search them next time. Check this ;)

So, I think your suggestion is already inside ;)

Best regards,
Alex.

Offline Stefan

  • Administrator
  • Hero Member
  • *****
  • Posts: 772
  • Karma: +6/-0
    • View Profile
Re: File encoding: to many variety to chose from
« Reply #2 on: June 08, 2009, 03:32:43 pm »
Yes, Alex, i saw this with  half eye, but don't think this would be really what i want.
But this "shown on top of the list" help  enough i think.   (But not for SaveAs... Dialog)

It's only there are too many unneeded varieties, and on company pc you can't un-install the unneeded ones.
So i just ask if there is an easy way to filter them.  But as i see now, this means even more work for you, it must be O.K. as it is.

It was an try .... forget it please :D

Offline alex

  • Developer
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1666
  • Karma: +29/-2
    • View Profile
    • HippoEDIT
Re: File encoding: to many variety to chose from
« Reply #3 on: June 08, 2009, 04:46:47 pm »
Ok, Stefan.

What I can provide as xml list of wanted and unwanted code pages.
Something like:

Code: [Select]
<Encoding>
   <Show cp="1252"/>
   <Hide cp="1251"/>
<Encoding>

and use it as a filter. In case of example above you would get only cp 1252 shown.
Would it be OK? But no UI.

Best regards,
Alex.

Offline Stefan

  • Administrator
  • Hero Member
  • *****
  • Posts: 772
  • Karma: +6/-0
    • View Profile
Re: File encoding: to many variety to chose from
« Reply #4 on: June 08, 2009, 07:10:51 pm »
This would be fine.
UI is not needed, because i think we will set this once only.


Can you filter the top level like Baltic, Arabic,Turkey,...?   would this be simpler?


Or if you prefer selection per cp, maybe this could be an solution:

IF NOT EXIST "<Encoding>"-section  THEN
   show all cp   as default , like current state is
ELSE
  use filter as set in "<Encoding>" and show this cp only
END IF

Because i think we will list up to 10 <Show cp="1252"/>  only?
And this way around the  <Show cp="1252"/>   list will be shorter, then entering all possible CPs?

I think i need four CPs only, 1252. 850.UNICODE and UTF-16

BTW, as attachment i have provided an screen shot of code page installed on an MUL XP, for them not know how many there are :D


Thank you Alex , and please know no  hurry is needed.

Offline alex

  • Developer
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1666
  • Karma: +29/-2
    • View Profile
    • HippoEDIT
Re: File encoding: to many variety to chose from
« Reply #5 on: June 08, 2009, 08:49:34 pm »
Hi Stefan,

no, filtering by top level is not possible. You can do it by family, but not all code pages has family.
So, whould be as I have wrote before:
Code: [Select]
<EncodingFilter>
<Show cp="1251"/>
<Show cp="866"/>
<Show cp="65001"/>
<Show cp="1201"/>
<Show cp="1200"/>
</EncodingFilter>

this is to show only these pages.
And such coding can be used to filter some specific pages:
Code: [Select]
<EncodingFilter>
<Hide cp="1252"/>
<Hide cp="65000"/>
</EncodingFilter>

These settings applied as to menus as for Open/Save dialog. But other encoding can be still used if automatically determined.
I have 87 listed ;).

This functionality would be inside new beta.

Best regards,
Alex.

 

Related Topics

  Subject / Started by Replies Last post
5 Replies
619 Views
Last post April 16, 2009, 10:06:52 pm
by Arthur
11 Replies
909 Views
Last post April 16, 2009, 10:17:02 pm
by Stefan
3 Replies
1834 Views
Last post June 09, 2009, 11:18:33 am
by alex
1 Replies
750 Views
Last post June 06, 2009, 01:53:00 pm
by alex
2 Replies
230 Views
Last post September 03, 2010, 11:29:07 am
by photon