Description
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 commentedon 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 commentedon Apr 30, 2024
Merci pour la réponse rapide Derek, J'ai vu avec les projects Sample, mais

TypeOfCharacterTable
ne prend que deux options:abbaye commentedon 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 commentedon 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

abbaye commentedon 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 commentedon Apr 30, 2024
Aucun soucis mon ami, je le ferait au plus tôt possible, merci infiniment pour ton aide, super apprécié :D
abbaye commentedon May 2, 2024
Je ne vois plus ton message pour l'ajout du contrôle dans winform. C'est réglé?
cl-oalami commentedon May 2, 2024
Yep, tout edt bon c'était un bug VS 2022