Skip to content

Commit 6f9ccc0

Browse files
Merge branch 'ethan-branch' of https://github.com/dynamsoft-docs/barcode-reader-docs into ethan-branch
2 parents f40240a + 0c47007 commit 6f9ccc0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

faq/general/non-english-characters.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ permalink: /faq/general/non-english-characters.html
1313

1414
The barcode text of the result is of a non-Latin based language, as by default most webpages are able to display Latin-based languages.
1515

16-
In order to display the barcode text, it is best to do it via the [`getBytes`](https://www.dynamsoft.com/barcode-reader/docs/server/programming/cplusplus/api-reference/barcode-result-item.html#getbytes) of the TextResult. Once the bytes are obtained, you can 'translate' them to a string based on the encoding identifier of the language that you are trying to display.
16+
In order to display the barcode text, it is best to do it via the [`getBytes`](https://www.dynamsoft.com/barcode-reader/docs/server/programming/cplusplus/api-reference/barcode-result-item.html#getbytes) of the CBarcodeResultItem. Once the bytes are obtained, you can 'translate' them to a string based on the encoding identifier of the language that you are trying to display.

faq/general/unprintable-character.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ public:
8181
int main()
8282
{
8383
// obtain bytes from CDecodedBarcodeElement or CBarcodeResultItem.
84-
unsighed char* barcodeBytes = textResult->GetBytes();
84+
unsigned char* barcodeBytes = textResult->GetBytes();
8585
int bytesLength = textResult->GetBytesLength();
8686
ProcessBarcodeBytesUtil util;
8787
std::string originStr = util.processBarcodeBytes(barcodeBytes, bytesLength, PNPCM_KEEP);

0 commit comments

Comments
 (0)