Skip to content

[Suggestion/Request] Add more encoding support #138

Open
@cl-oalami

Description

@cl-oalami

Hello, is there a way to select anything other than ASCII and custom table, maybe UTF8, UTF16, etc...

How would one go about implementing such a feature, i have looked at the source code and it's just looping at the TypeOfCharacterTable and TypeOfCharacterTableProperty

Cannot find the method that uses the ASCII option and modify it to just get the encoding page I send to it.

Thank you in advance, btw I understand French if you'd like to answer me in French.

----------------------------------------------------FRENCH-----------------------------------------------

Bonjour, y a-t-il un moyen de sélectionner autre chose que ASCII et une table personnalisée, peut-être UTF8, UTF16, etc...

Comment pourrait-on implémenter une telle fonctionnalité ? J'ai regardé le code source et il boucle simplement sur TypeOfCharacterTable et TypeOfCharacterTableProperty.

Je ne trouve pas la méthode qui utilise l'option ASCII et la modifier pour simplement obtenir la page d'encodage que je lui envoie.

Merci d'avance, au fait, je comprends le français si vous préférez me répondre en français.

Activity

abbaye

abbaye commented on Apr 30, 2024

@abbaye
Owner

Oui c'est possible de le faire. Avez vous essayé les samples du projet ?

Sinon je regarde ce soir pour vous aider

cl-oalami

cl-oalami commented on Apr 30, 2024

@cl-oalami
Author

Merci pour la réponse rapide Derek, J'ai vu avec les projects Sample, mais TypeOfCharacterTable ne prend que deux options:
image

abbaye

abbaye commented on Apr 30, 2024

@abbaye
Owner

En fait tu peux prendre un fichier texte unicode (.tbl) et crée ta propre conversion. C'est ultra simple a faire et a utiliser

cl-oalami

cl-oalami commented on Apr 30, 2024

@cl-oalami
Author

Ne serait-ce pas mieux d'avoir une option qui pourrait justement prendre le codename de l'encoding, comme le fait Encoding.GetEncoding()
C'est plus pratique que de distribuer un tool avec plusieurs fichiers tbl

EDIT: Ici, il suffit tout simplement de convertir cette partie en getEncoding au lieu d'appeler ASCII Directement
image

abbaye

abbaye commented on Apr 30, 2024

@abbaye
Owner

Oui si tu veux l'implanter et soumettre un pull request :)

Malheureusement actuellement je manque de temps pour faire du développement dans ce projet

cl-oalami

cl-oalami commented on Apr 30, 2024

@cl-oalami
Author

Aucun soucis mon ami, je le ferait au plus tôt possible, merci infiniment pour ton aide, super apprécié :D

abbaye

abbaye commented on May 2, 2024

@abbaye
Owner

Je ne vois plus ton message pour l'ajout du contrôle dans winform. C'est réglé?

cl-oalami

cl-oalami commented on May 2, 2024

@cl-oalami
Author

Yep, tout edt bon c'était un bug VS 2022

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @abbaye@cl-oalami

        Issue actions

          [Suggestion/Request] Add more encoding support · Issue #138 · abbaye/WpfHexEditorControl