今天遇到了一个之前没有遇到的问题,记录一下. 我们是在windows下进行开发的,最终系统是部署在linux服务器上. 在windows一切正常,但是部署到linux下时,有些功能不能用了.通过log查看.发现在日期转换的时候出了问题. 旧代码的实现: public static Date StringToDate(String str){ Date date = null; DateFormat format = DateFormat.getDateInstance(); if(str !=
#include<stdio.h> #include "/usr/local/ffmpeg_arm/include/SDL/SDL.h" char *bmp_name[3] = {"000.bmp","111.bmp","222.bmp"}; int main() { int i=0; int w = 720; int h = 576,retu; unsigned char* pY; unsigned char*
This is a short memo about installing iconv on Windows host (specifically: Windows 7 SP1 x64). Iconv is a handy Unix/Linux tool that is used for conversion between different character encodings. Unfortunately, I’m not always in a position to use my f