Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Suggestion/Request] Add more encoding support #138

Open
cl-oalami opened this issue Apr 30, 2024 · 8 comments
Open

[Suggestion/Request] Add more encoding support #138

cl-oalami opened this issue Apr 30, 2024 · 8 comments

Comments

@cl-oalami
Copy link

cl-oalami commented Apr 30, 2024

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.

@abbaye
Copy link
Owner

abbaye commented Apr 30, 2024

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

Sinon je regarde ce soir pour vous aider

@cl-oalami
Copy link
Author

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

@abbaye
Copy link
Owner

abbaye commented Apr 30, 2024

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
Copy link
Author

cl-oalami commented Apr 30, 2024

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
Copy link
Owner

abbaye commented Apr 30, 2024

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
Copy link
Author

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

@abbaye
Copy link
Owner

abbaye commented May 2, 2024

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

@cl-oalami
Copy link
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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants