Skip to content

Commit

Permalink
Use markdown lists to layout the steps
Browse files Browse the repository at this point in the history
  • Loading branch information
eugeneai authored and trufae committed Feb 17, 2022
1 parent 53c3053 commit 275313e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/plugins/dev-charset.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
## Charset

1-Create a file in `radare2/libr/util/d/yourfile.sdb.txt`. The extension .sdb.txt is important.
2-Edit the file `radare2/libr/util/charset.c`.
1. Create a file in `radare2/libr/util/d/yourfile.sdb.txt`. The extension .sdb.txt is important.
2. Edit the file `radare2/libr/util/charset.c`.
-add `extern SdbGperf gperf_latin_1_ISO_8859_1_western_european;`.
-then add your variable `&gperf_latin_1_ISO_8859_1_western_european,` in `static const SdbGperf *gperfs[]`
3-Update the Makefile: `radare2/libr/util/Makefile`:
3. Update the Makefile: `radare2/libr/util/Makefile`:
-Add `OBJS+=d/latin_1_ISO_8859_1_western_european.o`
4-Update the Makefile `radare2/libr/util/d/Makefile` to add your file name with not .sdb and not .txt in `FILES=latin_1_ISO_8859_1_western_european`
5-Update the unit tests of `radare2/test/db/cmd/charset`
4. Update the Makefile `radare2/libr/util/d/Makefile` to add your file name with not .sdb and not .txt in `FILES=latin_1_ISO_8859_1_western_european`
5. Update the unit tests of `radare2/test/db/cmd/charset`

Congratulation! You can now type the command:

Expand Down

0 comments on commit 275313e

Please # to comment.