English 中文(简体)
ASP中阅读2D条条码。 具有特殊特性的网络
原标题:Read 2D barcode in ASP.NET without mangling special characters

我需要能够阅读2D条条条码,使用标准USB 2D条条条码阅读器。 我们再次努力在伙伴关系中这样做。 NET 2.0网页,使用标准文本箱,而我的问题是特殊特性,特别是CR /LF。

插座的头几个特征是“@”、“0x0A(LF)、0x1C、0x0D(CR),然后是比较正常的文本记录,由0x0A(LF)确定。 扫描末端为0x0D。

因此,结果就希望这样做。

@ 0x0A
0x1C 0x0D
record1 0x0A
record2 0x0A
record3 0x0A
0x0D

当我试图把这一点扫描到我的文本箱中时,它会得到“@”,然后开始把其他一切作为浏览器的指挥,而IE和Wafox两者都非常有趣。

如果这是一张双赢画,我将在那里进行特别控制,以读到关键的中风,并将其放在缓冲。 是否有办法在浏览器中这样做,以正确阅读特殊特性,而不重新解释线性末端?

问题回答

暂无回答




相关问题
Anyone feel like passing it forward?

I m the only developer in my company, and am getting along well as an autodidact, but I know I m missing out on the education one gets from working with and having code reviewed by more senior devs. ...

How to Add script codes before the </body> tag ASP.NET

Heres the problem, In Masterpage, the google analytics code were pasted before the end of body tag. In ASPX page, I need to generate a script (google addItem tracker) using codebehind ClientScript ...

Transaction handling with TransactionScope

I am implementing Transaction using TransactionScope with the help this MSDN article http://msdn.microsoft.com/en-us/library/system.transactions.transactionscope.aspx I just want to confirm that is ...

System.Web.Mvc.Controller Initialize

i have the following base controller... public class BaseController : Controller { protected override void Initialize(System.Web.Routing.RequestContext requestContext) { if (...

Microsoft.Contracts namespace

For what it is necessary Microsoft.Contracts namespace in asp.net? I mean, in what cases I could write using Microsoft.Contracts;?

Separator line in ASP.NET

I d like to add a simple separator line in an aspx web form. Does anyone know how? It sounds easy enough, but still I can t manage to find how to do it.. 10x!

热门标签