[Github-comments] [geany] Read standard input as new file (#780)

elextr notifications at xxxxx
Sat Nov 28 04:17:08 UTC 2015


Encodings checks these to extract the encoding:

```
/* <meta http-equiv="content-type" content="text/html; charset=UTF-8" /> */
#define PATTERN_HTMLMETA "<meta\\s+http-equiv\\s*=\\s*\"?content-type\"?\\s+content\\s*=\\s*\"text/x?html;\\s*charset=([a-z0-9_-]+)\"\\s*/?>"
/* " geany_encoding=utf-8 " or " coding: utf-8 " */
#define PATTERN_CODING "coding[\t ]*[:=][\t ]*\"?([a-z0-9-]+)\"?[\t ]*"
```

---
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/780#issuecomment-160245340
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20151127/d3d3a98c/attachment.html>


More information about the Github-comments mailing list